Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Product launch results in error
Product launch results in error [message #564725] Tue, 17 November 2009 21:58 Go to next message
Tom is currently offline TomFriend
Messages: 11
Registered: July 2009
Junior Member
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 #564746 is a reply to message #564725] Wed, 18 November 2009 15:38 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions


Re: Product launch results in error [message #566914 is a reply to message #564746] Tue, 29 December 2009 19:25 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
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
Previous Topic:XWT + DataBinding +DataContext +Replace
Next Topic:XWT + DataBinding + TableViewer +Image
Goto Forum:
  


Current Time: Sun Dec 21 06:24:58 GMT 2014

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

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