Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Java Webstart on Mac OSX(Null pointer exception thrown from CocoaUIEnhancer)
Java Webstart on Mac OSX [message #531429] Tue, 04 May 2010 20:44
dwain Missing name is currently offline dwain Missing nameFriend
Messages: 35
Registered: October 2009
Member
We are working on an RCP application that we are launching from a JNLP file. It works perfectly in Linux and Windows, however I had issues with a carbon SWT jar that would crash the program whenever it ran from the JNLP file. I changed the WS to run on cocoa rather then carbon and I now get the following exception and almost all of the UI is unresponsive. Although it does not crash anymore. The RCP application runs perfectly when it is run out of eclipse on the same Mac that is throwing the Null Pointer exception, so I know that it should run on the computer. I have also gone through the JNLP file and the run configuration from eclipse and they are using the exact same jars so I think it has to be some other configuration issue. But I have not been able to find it. Any ideas what would cause this error? Thank you,

Dwain
Exception Details
java.lang.NullPointerException: null
at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.hookApplicationMenu(CocoaUIEnhancer.java:375)
at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.access$5(CocoaUIEnhancer.java:355)
at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer$1.run(CocoaUIEnhancer.java:235)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:155)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3405)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3102)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.vanns.csi.Application.start(Application.java:25)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:79)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:57)
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:597)
at com.sun.javaws.Launcher.invokeMainMethod(Launcher.java:1535)

Previous Topic:silent failure in revert configuration - does an rcp product need the metadata repo for its initial
Next Topic:Zombie EditorInputs
Goto Forum:
  


Current Time: Thu Apr 18 11:32:32 GMT 2024

Powered by FUDForum. Page generated in 0.01848 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top