Error on Marvin Space

User c1eed8df30

20-11-2011 21:23:26

I'm using the 64 bit version of Marvin that is coupled with JChem 5.7. I am also using the 64 bit Java 6 update 29.


When I try to view a molecule on Marvin Space via Marvin Sketch, it gives the following error message.


Sorry I can not put this in [spoiler] tags, the forum does not accept BBCode.


ERROR:
Error opening MarvinSpace

STACK TRACE:
java.lang.NullPointerException
    at chemaxon.marvin.space.gui.JMSpaceToolBar.<init>(JMSpaceToolBar.java:100)
    at chemaxon.marvin.space.MSpaceEasy.addToolBar(MSpaceEasy.java:222)
    at chemaxon.marvin.space.gui.MSpaceFrameViewer.getMSpaceFrame(MSpaceFrameViewer.java:75)
    at chemaxon.marvin.space.gui.MSpaceFrameViewer.getMSpaceViewer(MSpaceFrameViewer.java:59)
    at chemaxon.marvin.space.gui.MSpaceViewerBase.get(MSpaceViewerBase.java:117)
    at chemaxon.marvin.space.gui.MSpaceFrameViewer.get(MSpaceFrameViewer.java:51)
    at chemaxon.marvin.space.gui.MSpaceViewerBase.callback(MSpaceViewerBase.java:100)
    at chemaxon.marvin.common.swing.MolPanel.getMSpaceViewer(MolPanel.java:5715)
    at chemaxon.marvin.sketch.swing.SketchPanel.openMSpace(SketchPanel.java:3177)
    at chemaxon.marvin.sketch.swing.SketchPanel.doOpenMSpace(SketchPanel.java:2510)
    at chemaxon.marvin.sketch.swing.actions.OpenMarvinSpaceAction.actionPerformed(OpenMarvinSpaceAction.java:26)
    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.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(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 eb65a25631

22-11-2011 12:45:14

Hi,


It seems, we had the same issue earlier with JRE 7. Some breaking changes made in the new API, that broke the MarvinSpace application in a similar way.


I fixed the issue. It will be available in the release 5.8. Please try it when it's available for you, maybe it fixes your problem.


In any case, please report back with the result.


 


Thanks and regards,


András