Port RCP Application to Juno - startup error [message #778215] |
Wed, 11 January 2012 13:10  |
Eclipse User |
|
|
|
Hello,
I am trying to port my RCP app from Indigo to Juno and get the following error on startup. I have recreated the .product and checked the dependencies and everything seems to be fine. There are no other stack traces available.
!ENTRY org.eclipse.osgi 4 0 2012-01-11 13:04:43.804
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:92)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:472)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:181)
at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:534)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:520)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at moviemanager.Application.start(Application.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Port RCP Application to Juno - startup error [message #1737822 is a reply to message #778215] |
Wed, 13 July 2016 05:34   |
Eclipse User |
|
|
|
(not Juno but Luna) We had the same problem on a somehow complex setup, so this is how we've fixed:
- Be sure that your target platform, jars, projects, dependencies are correct, , updated, rebuilt. This NullPointerException problem started for us AFTER fixing dependencies, so despite it seems not logic, may had an impact.
- Be sure to include the **equinox.ds **equinox.event on the product file
(dependencies tab).
- Be sure to include the required dependencies on the same tab.
- Be sure to "Synchronize" the product file, using the Synchronize link on the Overview tab of the product file
- Check that all dependencies are included and **equinox.ds **equinox.event are also selected on the application launcher (plugins tab).
[Updated on: Wed, 13 July 2016 05:34] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.06748 seconds