NullPointerException in MolPainter

User c23c5e9da4

07-01-2008 16:10:11

java.lang.NullPointerException


at chemaxon.marvin.util.MolPainter.calcMolBounds(MolPainter.java:3068)


at chemaxon.marvin.util.MolPainter.calcBounds(MolPainter.java:2703)


at chemaxon.marvin.util.MolPainter.calcBounds(MolPainter.java:2625)


at chemaxon.marvin.util.MolPainter.preCalcBoundsOfSgroup(MolPainter.java:2328)


at chemaxon.marvin.util.MolPainter.preCalcBoundsOfSgroupFromChildren(MolPainter.java:2220)


at chemaxon.marvin.util.MolPainter.paintSgroupBrackets(MolPainter.java:2276)


at chemaxon.marvin.util.MolPainter.hilitSgroup(MolPainter.java:1510)


at chemaxon.marvin.sketch.MolEditor.paintAnythingOverSomethingElse(MolEditor.java:3869)


at chemaxon.marvin.sketch.MolEditor.paint(MolEditor.java:3810)


at chemaxon.marvin.sketch.swing.SketchCanvas.paintGraphics(SketchCanvas.java:590)


at chemaxon.marvin.sketch.swing.SketchCanvas.paint(SketchCanvas.java:564)


at javax.swing.JComponent.paintChildren(JComponent.java:842)


at javax.swing.JComponent.paint(JComponent.java:1014)


at javax.swing.JComponent._paintImmediately(JComponent.java:4881)


at javax.swing.JComponent.paintImmediately(JComponent.java:4667)


at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:477)


at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)


at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)


at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)


at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)


at java.awt.Dialog$1.run(Dialog.java:517)


at java.awt.Dialog$2.run(Dialog.java:545)


at java.security.AccessController.doPrivileged(Native Method)


at java.awt.Dialog.show(Dialog.java:543)


at java.awt.Component.show(Component.java:1300)


at java.awt.Component.setVisible(Component.java:1253)


at com.vpharm.application.medchem.vbook.gui.reaction.ReactionPane$3.mouseClicked(ReactionPane.java:302)


at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)


at java.awt.Component.processMouseEvent(Component.java:5557)


at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)


at java.awt.Component.processEvent(Component.java:5319)


at java.awt.Container.processEvent(Container.java:2010)


at java.awt.Component.dispatchEventImpl(Component.java:4021)


at java.awt.Container.dispatchEventImpl(Container.java:2068)


at java.awt.Component.dispatchEvent(Component.java:3869)


at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)


at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)


at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)


at java.awt.Container.dispatchEventImpl(Container.java:2054)


at java.awt.Window.dispatchEventImpl(Window.java:1774)


at java.awt.Component.dispatchEvent(Component.java:3869)


at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)


at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)


at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)


at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)


at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

ChemAxon 7c2d26e5cf

07-01-2008 16:54:50

Please give more details about this issue. When does it occur?

ChemAxon 7c2d26e5cf

17-01-2008 14:40:43

Have you managed to reproduce this error with the new Marvin 5.0?