User 870ab5b546
10-12-2014 14:52:45
A student sent me a Microsoft Word document (attached) that contained some structures he had drawn with MarvinSketch. I tried to copy them and paste them into desktop MarvinSketch 14.10.270, but Marvin wouldn't accept them. I thought it was now possible to copy Marvin pictures from Word and paste them into MarvinSketch?
In an attempt to work around the problem, I saved one as a PNG file and tried to open it with Open image..., and I got the error below.
ERROR:
Internal error: cannot create new instance for the png importer module
STACK TRACE:
chemaxon.formats.MolFormatException: Internal error: cannot create new instance for the png importer module
at chemaxon.formats.MolImporter.init(MolImporter.java:574)
at chemaxon.formats.MolImporter.<init>(MolImporter.java:245)
at chemaxon.marvin.sketch.swing.SketchPanel.doOpenImage(SketchPanel.java:1807)
at chemaxon.marvin.sketch.swing.actions.OpenImageAction.actionPerformed(OpenImageAction.java:28)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6414)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6179)
at java.awt.Container.processEvent(Container.java:2084)
at java.awt.Component.dispatchEventImpl(Component.java:4776)
at java.awt.Container.dispatchEventImpl(Container.java:2142)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
at java.awt.Container.dispatchEventImpl(Container.java:2128)
at java.awt.Window.dispatchEventImpl(Window.java:2492)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:690)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.io.IOException: There are not any Optical Structure Recognizer tool (e.g.: OSRA) available in your envrionment.
at chemaxon.marvin.io.image.importer.ImageImportModule.initMolImport(ImageImportModule.java:136)
at chemaxon.marvin.io.MRecordImporter.<init>(MRecordImporter.java:289)
at chemaxon.formats.MolImporter.init(MolImporter.java:559)
... 41 more