Marvin SketchPane bug

User e7455c8684

01-10-2007 14:43:10

when you draw a reaction, choose "Erase" and click one end of the reaction arrow, a huge amount of exception will be thrown out:


Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1


at chemaxon.marvin.util.MolPainter.paintObjects(MolPainter.java:2430)


at chemaxon.marvin.util.MolPainter.paintDocument(MolPainter.java:606)


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


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(Unknown Source)


at javax.swing.JComponent.paint(Unknown Source)


at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)


at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)


at javax.swing.JComponent._paintImmediately(Unknown Source)


at javax.swing.JComponent.paintImmediately(Unknown Source)


at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)


at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)


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


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


at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

ChemAxon 7c2d26e5cf

01-10-2007 17:13:51

Thanks for the bug report, we will fix it.