Div0 in old Mview 5.1.0 version

User 677b9c22ff

24-12-2008 06:27:45

Hi,


I just saw that the latest MView version just came out.


Post subject: Marvin 5.1.4 has been released


Link to postPosted: Wed Dec 24, 2008 2:45 am



Thanks Tamas!





Nevertheless I am usually behind with the version updates (never change a running system) and want to report on an


error in an older version (probably solved).





I tested the Marvin 4.1.11 and it worked fine but in


Marvin 5.1.0 the reading of the SDF file opt-smi23d.sdf


from the ChemAxon forum results in a DIV 0.





Cheers


Tobias





Exception in thread "AWT-EventQueue-0" java.lang.ArithmeticException: / by zero


at chemaxon.marvin.view.swing.modules.GridBagView.visibleIndex(GridBagView.java:2772)


at chemaxon.marvin.view.swing.modules.GridBagView.setL(GridBagView.java:1296)


at chemaxon.marvin.view.swing.ViewPanel.setL(ViewPanel.java:2085)


at chemaxon.marvin.view.swing.modules.GridBagCellFiller.fillCellInViewApp(GridBagCellFiller.java:41)


at chemaxon.marvin.view.swing.ViewTableUtil.fillCell(ViewTableUtil.java:514)


at chemaxon.marvin.view.swing.ViewTableUtil.fillCells(ViewTableUtil.java:503)


at chemaxon.marvin.view.swing.ViewTableUtil.showMolecules(ViewTableUtil.java:211)


at chemaxon.marvin.View.showMolecules(View.java:702)


at chemaxon.marvin.View.access$1000(View.java:53)


at chemaxon.marvin.View$11.run(View.java:1049)


at java.awt.event.InvocationEvent.dispatch(Unknown Source)


at java.awt.EventQueue.dispatchEvent(Unknown Source)


at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.run(Unknown Source)





-----------


java.lang.reflect.InvocationTargetException


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)


at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)


at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)


at java.lang.reflect.Constructor.newInstance(Unknown Source)


at chemaxon.marvin.util.MarvinModule.loadClass(MarvinModule.java:134)


at chemaxon.marvin.util.MarvinModule.load(MarvinModule.java:82)


at chemaxon.marvin.view.swing.ViewPanel.molInit(ViewPanel.java:349)


at chemaxon.marvin.common.swing.MolPanel.init(MolPanel.java:460)


at chemaxon.marvin.common.swing.MolPanel.setProperties(MolPanel.java:778)


at chemaxon.marvin.view.swing.ViewTableUtil.initSpreadsheetView(ViewTableUtil.java:478)


at chemaxon.marvin.view.swing.ViewTableUtil.initTable0(ViewTableUtil.java:311)


at chemaxon.marvin.view.swing.ViewTableUtil.initTable(ViewTableUtil.java:280)


at chemaxon.marvin.view.swing.ViewTableUtil.showMolecules(ViewTableUtil.java:169)


at chemaxon.marvin.View.showMolecules(View.java:702)


at chemaxon.marvin.View.access$1000(View.java:53)


at chemaxon.marvin.View$11.run(View.java:1049)


at java.awt.event.InvocationEvent.dispatch(Unknown Source)


at java.awt.EventQueue.dispatchEvent(Unknown Source)


at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


at java.awt.EventDispatchThread.run(Unknown Source)


Caused by: java.lang.IllegalArgumentException: Invalid cell type " dH"


at chemaxon.marvin.view.swing.modules.SpreadsheetView.<init>(SpreadsheetView.java:166)


... 24 more

ChemAxon 7c2d26e5cf

24-12-2008 09:45:20

Hi Tobias,


I've checked your SD file with the latest Marvin (5.1.4). MarvinView displays it fine (without any error).





Tamas