User 677b9c22ff
08-12-2008 20:09:57
Hi,
I have 64 stereoisomer molecules generated from a single mol and load them into 2x2 matrix and then extend to a 21x9 matrix I get an NPE.
I think it is important that this is a secondary window, one can use
this SMILES as example starter.
CC1OCC2=C(C1O)C(O)C1OC1(C\C=C(/C)C)C2O
This is mview MarvinView 5.1.3_2 under java 1.6 and win32
Added a screenshot of distorted window (see end doublets)
Tobias
Error log:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at chemaxon.marvin.view.MDocStorage.setFinalSize(MDocStorage.java:443)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:849)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.access$1200(GridBagView.java:46)
at chemaxon.marvin.view.swing.modules.GridBagView$9.run(GridBagView.java:3400)
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)
ViewTableUtil.showMolecules:
java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.setTopLeft(GridBagView.java:2997)
at chemaxon.marvin.view.swing.ViewTableUtil$1.run(ViewTableUtil.java:191)
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)
ViewTableUtil.showMolecules:
java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.setTopLeft(GridBagView.java:2997)
at chemaxon.marvin.view.swing.ViewTableUtil$1.run(ViewTableUtil.java:191)
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)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.access$1200(GridBagView.java:46)
at chemaxon.marvin.view.swing.modules.GridBagView$9.run(GridBagView.java:3400)
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)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.access$1200(GridBagView.java:46)
at chemaxon.marvin.view.swing.modules.GridBagView$9.run(GridBagView.java:3400)
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)
I have 64 stereoisomer molecules generated from a single mol and load them into 2x2 matrix and then extend to a 21x9 matrix I get an NPE.
I think it is important that this is a secondary window, one can use
this SMILES as example starter.
CC1OCC2=C(C1O)C(O)C1OC1(C\C=C(/C)C)C2O
This is mview MarvinView 5.1.3_2 under java 1.6 and win32
Added a screenshot of distorted window (see end doublets)
Tobias
Error log:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at chemaxon.marvin.view.MDocStorage.setFinalSize(MDocStorage.java:443)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:849)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.access$1200(GridBagView.java:46)
at chemaxon.marvin.view.swing.modules.GridBagView$9.run(GridBagView.java:3400)
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)
ViewTableUtil.showMolecules:
java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.setTopLeft(GridBagView.java:2997)
at chemaxon.marvin.view.swing.ViewTableUtil$1.run(ViewTableUtil.java:191)
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)
ViewTableUtil.showMolecules:
java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.setTopLeft(GridBagView.java:2997)
at chemaxon.marvin.view.swing.ViewTableUtil$1.run(ViewTableUtil.java:191)
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)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.access$1200(GridBagView.java:46)
at chemaxon.marvin.view.swing.modules.GridBagView$9.run(GridBagView.java:3400)
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)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at chemaxon.marvin.io.MDocSource.skipRecords(MDocSource.java:273)
at chemaxon.marvin.io.MDocSource.seekForward(MDocSource.java:203)
at chemaxon.marvin.io.RewindableMDocSource.seekRecord(RewindableMDocSource.java:274)
at chemaxon.marvin.view.MDocStorage.tryToExtend(MDocStorage.java:819)
at chemaxon.marvin.view.MDocStorage.getMainDoc(MDocStorage.java:761)
at chemaxon.marvin.view.swing.modules.GridBagView.getDocument(GridBagView.java:654)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCanvas(GridBagView.java:1135)
at chemaxon.marvin.view.swing.ViewPanel.setVisibleCanvas(ViewPanel.java:2494)
at chemaxon.marvin.view.swing.modules.GridBagView.setVisibleCell(GridBagView.java:1580)
at chemaxon.marvin.view.swing.modules.GridBagView.visibleCells(GridBagView.java:1781)
at chemaxon.marvin.view.swing.modules.GridBagView.update(GridBagView.java:3447)
at chemaxon.marvin.view.swing.modules.GridBagView.access$1200(GridBagView.java:46)
at chemaxon.marvin.view.swing.modules.GridBagView$9.run(GridBagView.java:3400)
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)