User e21f251256
21-10-2009 16:12:00
Using JChem 5.2.04 in a desktop application, most of us have no problem pasting a smiles string into a SketchPane. But one developer gets this whenever he tries:
[SunJDK14ConditionalEventPump] Exception occurred during event dispatching:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/inzoom/comjni/ComJniException
at chemaxon.marvin.util.MarvinModule.load(MarvinModule.java:56)
at chemaxon.marvin.util.ClipboardHandler.getDataFromClipboardOLE(ClipboardHandler.java:367)
at chemaxon.marvin.util.ClipboardHandler.getObjectFromClipboard(ClipboardHandler.java:391)
at chemaxon.marvin.common.swing.MolPanel.getMClipboardMol(MolPanel.java:3328)
at chemaxon.marvin.sketch.swing.SketchPanel.clipboardOp(SketchPanel.java:4685)
at chemaxon.marvin.sketch.swing.SketchPanel.doPaste(SketchPanel.java:2154)
at chemaxon.marvin.sketch.swing.actions.PasteAction.actionPerformed(PasteAction.java:32)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)
Caused by: java.lang.NoClassDefFoundError: com/inzoom/comjni/ComJniException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at chemaxon.marvin.util.MarvinModule.loadClass(MarvinModule.java:132)
at chemaxon.marvin.util.MarvinModule.load(MarvinModule.java:82)
at chemaxon.marvin.util.MarvinModule.load(MarvinModule.java:46)
... 32 more