NullPointerException in RxnMolecule

User c23c5e9da4

07-01-2008 16:09:15

java.lang.NullPointerException


at chemaxon.struc.RxnMolecule.removeEmptyComponents(RxnMolecule.java:2858)


at chemaxon.marvin.sketch.MolEditor.getMolSelection(MolEditor.java:2871)


at chemaxon.marvin.sketch.swing.SketchPanel.clipboardOp(SketchPanel.java:4584)


at chemaxon.marvin.sketch.swing.SketchPanel.mouseReleased(SketchPanel.java:2754)


at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)


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


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:3936)


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.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 17:00:57

In the next release (Marvin 5.0), reaction drawing code is reimplemented. So several reaction drawing issue is solved there.


We are in the final testing period, so it is going to available very very soon.