MVIEW dies on good old div0

User 677b9c22ff

05-07-2007 03:55:07

Hi


see attached file from PubChem (20 mols or so)


Selecting normal view, then selecting "show fields", scroll around up and down, de-selecting show fields (because no molecules show up), the scolling up and down results in DIV by 0.


MarvinView 4.1.8


Tobias








PS: Problem, although it was a fresh start I could not repeat the error. Still I got the error in the first place...








Exception in thread "Thread-11" java.lang.ArithmeticException: / by zero


at chemaxon.marvin.view.swing.modules.GridBagView.setT0(GridBagView.java:1367)


at chemaxon.marvin.view.swing.modules.GridBagView.setT(GridBagView.java:1350)


at chemaxon.marvin.view.swing.ViewPanel.setT(ViewPanel.java:1494)


at chemaxon.marvin.beans.MViewPane.setT(MViewPane.java:663)


at chemaxon.marvin.View.fillCell(View.java:832)


at chemaxon.marvin.View.docProduced(View.java:796)


at chemaxon.marvin.view.MDocStorage.readDoc(MDocStorage.java:2319)


at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:863)


at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:810)


at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:601)


at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1028)


at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:1817)


at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1467)


at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1668)


at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3172)


at chemaxon.marvin.view.swing.modules.GridBagView.access$800(GridBagView.java:45)


at chemaxon.marvin.view.swing.modules.GridBagView$8.run(GridBagView.java:3140)


at chemaxon.marvin.util.ThreadSerializer$1.run(ThreadSerializer.java:97)

User f359e526a1

05-07-2007 09:24:12

Good. Well, not that good but thank you for the report, we can fix for 4.1.11 .

User 677b9c22ff

14-07-2007 10:39:39

Hi I also got the same error with this file form the forum





ERROR:


Exception in thread "Thread-13" java.lang.ArrayIndexOutOfBoundsException: 2 >= 1


at java.util.Vector.elementAt(Vector.java:432)


at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1029)


at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:1817)


at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1467)


at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1668)


at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3172)


at chemaxon.marvin.view.swing.modules.GridBagView.access$800(GridBagView.java:45)


at chemaxon.marvin.view.swing.modules.GridBagView$8.run(GridBagView.java:3140)


at chemaxon.marvin.util.ThreadSerializer$1.run(ThreadSerializer.java:97)





----------


However my posted file gives no error anymore ...


----------


Tobias

ChemAxon 7c2d26e5cf

23-07-2007 22:28:11

Marvin 4.1.11 will be available very soon.