Error launching MarvinSketch

User 502c546f4e

02-07-2008 06:59:09

Hi





I'd just installed MarvinBeans 5.0.6 on my iMAc running Mac OS X 10.5.4. However, I have a problem launching MarvinSketch. It gives me an unknown error. When I click Stack Trace, the following is generated:





java.lang.NullPointerException


at chemaxon.marvin.sketch.swing.actions.ZoomTool.access$000(Unknown Source)


at chemaxon.marvin.sketch.swing.actions.ZoomTool$1.getItemCount(Unknown Source)


at apple.laf.CUIAquaComboBoxPopup.shouldScroll(CUIAquaComboBoxPopup.java:77)


at apple.laf.CUIAquaComboBoxPopup.updateContents(CUIAquaComboBoxPopup.java:28)


at apple.laf.CUIAquaComboBoxPopup.configurePopup(CUIAquaComboBoxPopup.java:22)


at javax.swing.plaf.basic.BasicComboPopup.<init>(BasicComboPopup.java:319)


at apple.laf.CUIAquaComboBoxPopup.<init>(CUIAquaComboBoxPopup.java:14)


at apple.laf.CUIAquaComboBox.createPopup(CUIAquaComboBox.java:91)


at javax.swing.plaf.basic.BasicComboBoxUI.installUI(BasicComboBoxUI.java:212)


at apple.laf.CUIAquaComboBox.installUI(CUIAquaComboBox.java:30)


at javax.swing.JComponent.setUI(JComponent.java:653)


at javax.swing.JComboBox.setUI(JComboBox.java:238)


at javax.swing.JComboBox.updateUI(JComboBox.java:247)


at javax.swing.JComboBox.init(JComboBox.java:212)


at javax.swing.JComboBox.<init>(JComboBox.java:164)


at chemaxon.marvin.sketch.swing.actions.ZoomTool$1.<init>(Unknown Source)


at chemaxon.marvin.sketch.swing.actions.ZoomTool.createTool(Unknown Source)


at chemaxon.marvin.sketch.swing.actions.ZoomTool.getTool(Unknown Source)


at chemaxon.marvin.sketch.swing.actions.ZoomToolAction.getToolBarItem(Unknown Source)


at chemaxon.marvin.uif.controller.impl.item.CustomToolBarItemController.createAndBindItem(Unknown Source)


at chemaxon.marvin.uif.controller.impl.item.AbstractItemController.getComponent(Unknown Source)


at chemaxon.marvin.uif.controller.impl.item.AbstractToolBarItemController.fill(Unknown Source)


at chemaxon.marvin.uif.controller.impl.ToolBarControllerImpl.fillContainer(Unknown Source)


at chemaxon.marvin.uif.controller.impl.AbstractTopLevelController.contentChanged(Unknown Source)


at chemaxon.marvin.uif.controller.impl.AbstractTopLevelController.getContainer(Unknown Source)


at chemaxon.marvin.uif.controller.impl.ToolBarControllerImpl.getToolBar(Unknown Source)


at chemaxon.marvin.uif.module.GUIModule.getToolBar(Unknown Source)


at chemaxon.marvin.uif.aloe.AloeDockHandler.addToolBar(Unknown Source)


at chemaxon.marvin.uif.aloe.AloeDockHandler.addToolBars(Unknown Source)


at chemaxon.marvin.uif.aloe.AloeDockHandler.setRegistry(Unknown Source)


at chemaxon.marvin.uif.aloe.AloeDockHandler.<init>(Unknown Source)


at chemaxon.marvin.sketch.swing.SketchPanel.molInit(Unknown Source)


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


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


at chemaxon.marvin.sketch.swing.SketchPanel.setProperties(Unknown Source)


at chemaxon.marvin.beans.MarvinPane.setParams(Unknown Source)


at chemaxon.marvin.beans.MarvinPane.init(Unknown Source)


at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)


at chemaxon.marvin.beans.MSketchPane.<init>(Unknown Source)


at chemaxon.marvin.Sketch.<init>(Unknown Source)


at chemaxon.marvin.Sketch.main(Unknown Source)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:585)


at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)


at com.install4j.runtime.MacLauncher.main(Unknown Source)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:585)


at apple.launcher.LaunchRunner.run(LaunchRunner.java:115)


at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)


at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)






Can anyone help?





Thanks in advance,





Ed

ChemAxon 7c2d26e5cf

02-07-2008 17:57:35

Thanks for the bug report. We will check it.

User 04217b92a5

02-07-2008 19:02:26

I also get the same error on a Mac Pro running Mac OS X 10.5.3 and on a MacBook Pro running Mac OS X 10.4.11.





Thanks for your help,





Nelson

ChemAxon 7c2d26e5cf

02-07-2008 19:59:11

Can you give the java version?


Is MarvinView working for you? If yes, you check software environment by selecting About option in the Help menu. (MarvinView and Sketch use the same Java.)


If no, just open a Terminal window and type the following statement, to print java version:


Code:
java -version

User aba8cab2ac

02-07-2008 21:18:40

Same issue for me as well.





Apple Inc. Java 1.5.0_13

User 502c546f4e

03-07-2008 01:04:15

scottschaus wrote:
Same issue for me as well.





Apple Inc. Java 1.5.0_13
Same here for me. MarvinView and MarvinSpace launch fine for me.

User 04217b92a5

03-07-2008 15:22:26

java version "1.5.0_13"

ChemAxon 7c2d26e5cf

03-07-2008 15:35:30

We have fixed this bug in Marvin Beans and in JChem packages. The related download packages for 5.0.6 are updated on the site.





marvinbeans-5_0_06.zip


marvinbeans-lib-5_0_06-signed.zip


marvinbeans-5_0_06-macos.dmg


jchem_5_0_06.zip


jchem-5_0_06-macos.dmg





If you are Mac user and you have downloaded/installed any file from this list earlier than you have received this post, please do it again.


Sorry for the inconvenience.

User aba8cab2ac

03-07-2008 17:31:51

Thank you. That worked.





One more small error with this version is that the "help" tab in MarvinSketch is very slow. It will often register the program as "not responding".

User 502c546f4e

04-07-2008 05:29:56

Tamas wrote:
We have fixed this bug in Marvin Beans and in JChem packages. The related download packages for 5.0.6 are updated on the site.





marvinbeans-5_0_06.zip


marvinbeans-lib-5_0_06-signed.zip


marvinbeans-5_0_06-macos.dmg


jchem_5_0_06.zip


jchem-5_0_06-macos.dmg





If you are Mac user and you have downloaded/installed any file from this list earlier than you have received this post, please do it again.


Sorry for the inconvenience.
Works great! Thank you for the prompt response! =]

User 502c546f4e

04-07-2008 05:31:19

scottschaus wrote:
Thank you. That worked.





One more small error with this version is that the "help" tab in MarvinSketch is very slow. It will often register the program as "not responding".
Same thing here.

ChemAxon 7c2d26e5cf

04-07-2008 12:41:20

Quote:
One more small error with this version is that the "help" tab in MarvinSketch is very slow. It will often register the program as "not responding".
Yes, we know about this issue. We are investigating what can cause the problem.

User 502c546f4e

27-08-2008 10:19:52

Tamas wrote:
Quote:
One more small error with this version is that the "help" tab in MarvinSketch is very slow. It will often register the program as "not responding".
Yes, we know about this issue. We are investigating what can cause the problem.
This problem still exists in 5.1.0. I see the beach ball spinning for quite a while (abt 1.5min), though the programme doesn't crash.





Ditto for the insert tab, though the waiting time is shorter.

ChemAxon 7c2d26e5cf

27-08-2008 17:50:51

It is a general OS X issue (not a Marvin specific one) because the Help menu of other applications open also slowly (e.g. Camino or Adobe Reader).


We have not found any workaround for this issue yet but we continue the research.

ChemAxon 7c2d26e5cf

15-12-2008 17:50:59

We have made faster the opening of help menu. The next release (5.1.4) will include this improvement.