Launching MarvinSpace from MarvinView

User 2d1733256c

15-06-2010 18:49:36

 


Hello I have been developing a Java application that uses MarvinSketch, MavinView, and hopefully MarvinSpace as well. I downloaded the MarvinBeans development kit. I have integrated MarvinView into the application and when I click the menu “View” and “Open MarvinSpace” I receive the below error and the application crashes. I believe I have included the jogl.jar in the CLASSPATH. The stack trace is below as well.


 


MarvinSpace 5.3.3

JVM: Sun Microsystems Inc. Java 1.6.0_20


Browser: null null

OS: x86 Windows XP 5.1


 


Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)


 java.lang.Exception: Implementation version could not be determined. (Probably jogl.jar is not in the classpath, or older version found.)


at chemaxon.marvin.space.MSpaceInstaller.error(Unknown Source)


at chemaxon.marvin.space.MSpaceInstaller.<init>(Unknown Source)


at chemaxon.marvin.space.MSpaceEasy.install(Unknown Source)


at chemaxon.marvin.space.MSpaceEasy.<init>(Unknown Source)


at chemaxon.marvin.space.MSpaceEasy.<init>(Unknown Source)


at chemaxon.marvin.space.gui.MSpaceViewer.getMSpaceDialog(Unknown Source)


at chemaxon.marvin.space.gui.MSpaceViewer.get(Unknown Source)


at chemaxon.marvin.space.gui.MSpaceViewer.callback(Unknown Source)


at chemaxon.marvin.common.swing.MolPanel.getMSpaceDialog(Unknown Source)


at chemaxon.marvin.view.swing.ViewPanel.openMSpace(Unknown Source)


at chemaxon.marvin.view.swing.ViewPanel.doOpenMSpace(Unknown Source)


at chemaxon.marvin.common.swing.action.OpenMSpaceAction.doAction(Unknown Source)


at chemaxon.marvin.swing.MAction.actionPerformed(Unknown Source)


at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)


at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)


at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)


at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)


at javax.swing.AbstractButton.doClick(AbstractButton.java:357)


at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)


at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)


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


at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)


at java.awt.Component.processEvent(Component.java:6028)


at java.awt.Container.processEvent(Container.java:2041)


at java.awt.Component.dispatchEventImpl(Component.java:4630)


at java.awt.Container.dispatchEventImpl(Container.java:2099)


at java.awt.Component.dispatchEvent(Component.java:4460)


at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)


at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)


at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)


at java.awt.Container.dispatchEventImpl(Container.java:2085)


at java.awt.Window.dispatchEventImpl(Window.java:2478)


at java.awt.Component.dispatchEvent(Component.java:4460)


at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)


at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)


at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)


at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)


at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)


at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)


at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)



 


Any help would be greatly
appreciated.


 


Jon


 

ChemAxon eb65a25631

22-06-2010 11:17:01

Hi,


I'm currently trying to reproduce the problem.


MarvinSpace should only be used with the jogl libraries bundled with the package. That means, there shouldn't be any jogl(and related) library instances in any of the classpath entries (there shouldn't be any jogl and gluegen library in the JRE's lib/ext directory as well). Could you check it, please?


If the problem still exist could you send me the diagnostic messages?


(You can access the diagnostic messages by closing the dialog with the stack trace, and pressing the 'Details' button on the messagebox underneath it.


Thanks and regards,


Andras