Product launch results in error [message #564725] |
Tue, 17 November 2009 16:58  |
Eclipse User |
|
|
|
I updated a small example (like the contacts demo) but when I launch the application now, i get an error. Any idea what I'm missing?
Tnx in advance for the answer !
This is the stacktrace:
java.lang.RuntimeException: Application "org.eclipse.e4.workbench.ui.internal.E4Workbench.init" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.e4.ui.workbench.swt.application, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.equinox.app.error.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
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(EclipseS tarter.java:367)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 611)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
|
|
|
|
Re: Product launch results in error [message #566914 is a reply to message #564746] |
Tue, 29 December 2009 14:25  |
Eclipse User |
|
|
|
On 11/18/2009 9:08 PM, Paul Webster wrote:
> It seems to me you should be using one of
> org.eclipse.e4.ui.workbench.swt.application,
> org.eclipse.e4.ui.workbench.swt.E4Application to launch an e4 RCP app
> (based on an Application.xmi, for example).
>
> PW
>
I am facing the same issue. I am indeed using org.eclipse.e4.ui.workbench.swt.E4Application to
launch the rcp app.
In fact,I created a new project, copied everything from contacts demo project. updated manifest
accordingly and created a new product same as contacts.product. But it still throws the NPE. Badly
missing a silver bullet.
--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
|
|
|
Powered by
FUDForum. Page generated in 0.26277 seconds