Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Product launch results in error
Product launch results in error [message #498654] Tue, 17 November 2009 16:57 Go to next message
Eclipse UserFriend
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 #498779 is a reply to message #498654] Wed, 18 November 2009 10:38 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Product launch results in error [message #505349 is a reply to message #498779] Tue, 29 December 2009 14:25 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Product launch results in error [message #505350 is a reply to message #505349] Tue, 29 December 2009 15:31 Go to previous messageGo to next message
Eclipse UserFriend
On 12/30/2009 12:55 AM, Ankur Sharma wrote:
> 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.
>

Found a solution. Simply add the complete target to the run config. The 'required plugin'
computation is not correct.

--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Re: Product launch results in error [message #505384 is a reply to message #505350] Tue, 29 December 2009 23:02 Go to previous messageGo to next message
Eclipse UserFriend
Even I was trying to run a product from M2, but failed.

The e4 examples have a few bugs with e4 1.0 M2 release. Please refer https://bugs.eclipse.org/bugs/show_bug.cgi?id=298011
Re: Product launch results in error [message #506574 is a reply to message #505384] Fri, 08 January 2010 00:55 Go to previous messageGo to next message
Eclipse UserFriend
Based on my experience some bundles needs to be included manually such as: org.eclipse.equinox.ds

Here the the list of bundles that i have included

org.eclipse.equinox.common,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.core.jobs,
org.eclipse.swt,
org.eclipse.nebula.widgets.gallery,
org.eclipse.core.databinding,
org.eclipse.core.databinding.beans,
org.eclipse.jface,
org.eclipse.jface.databinding,
org.eclipse.e4.ui.services,
org.eclipse.e4.ui.workbench,
org.eclipse.e4.core.services,
org.eclipse.e4.ui.model.workbench,
org.eclipse.e4.ui.bindings;bundle-version="0.9.0",
org.eclipse.e4.ui.workbench.renderers.swt;bundle-version="0.9.1 ",
org.eclipse.e4.ui.workbench.renderers.swt.contributions;bund le-version= "0.9.1",
org.eclipse.e4.ui.workbench.swt;bundle-version="0.9.1",
org.eclipse.e4.xwt;bundle-version="0.9.1",
com.ibm.icu;bundle-version="4.0.1",
org.eclipse.core.databinding.property;bundle-version="1.2.100 ",
org.eclipse.osgi.services;bundle-version="3.2.0",
javax.servlet;bundle-version="2.5.0",
org.eclipse.equinox.ds;bundle-version="1.1.100"

[Updated on: Thu, 07 January 2010 20:02] by Moderator

Re: Product launch results in error [message #566927 is a reply to message #505349] Tue, 29 December 2009 15:31 Go to previous messageGo to next message
Eclipse UserFriend
On 12/30/2009 12:55 AM, Ankur Sharma wrote:
> 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.
>

Found a solution. Simply add the complete target to the run config. The 'required plugin'
computation is not correct.

--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Re: Product launch results in error [message #566945 is a reply to message #505350] Tue, 29 December 2009 23:02 Go to previous messageGo to next message
Eclipse UserFriend
Even I was trying to run a product from M2, but failed.

The e4 examples have a few bugs with e4 1.0 M2 release. Please refer https://bugs.eclipse.org/bugs/show_bug.cgi?id=298011
--
Regards,
Madhu
http://eclipse-info.blogspot.com
Re: Product launch results in error [message #567306 is a reply to message #566945] Fri, 08 January 2010 00:55 Go to previous message
Eclipse UserFriend
Based on my experience some bundles needs to be included manually such as: org.eclipse.equinox.ds

Here the the list of bundles that i have included

org.eclipse.equinox.common,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.core.jobs,
org.eclipse.swt,
org.eclipse.nebula.widgets.gallery,
org.eclipse.core.databinding,
org.eclipse.core.databinding.beans,
org.eclipse.jface,
org.eclipse.jface.databinding,
org.eclipse.e4.ui.services,
org.eclipse.e4.ui.workbench,
org.eclipse.e4.core.services,
org.eclipse.e4.ui.model.workbench,
org.eclipse.e4.ui.bindings;bundle-version="0.9.0",
org.eclipse.e4.ui.workbench.renderers.swt;bundle-version="0.9.1 ",
org.eclipse.e4.ui.workbench.renderers.swt.contributions;bund le-version= "0.9.1",
org.eclipse.e4.ui.workbench.swt;bundle-version="0.9.1",
org.eclipse.e4.xwt;bundle-version="0.9.1",
com.ibm.icu;bundle-version="4.0.1",
org.eclipse.core.databinding.property;bundle-version="1.2.100 ",
org.eclipse.osgi.services;bundle-version="3.2.0",
javax.servlet;bundle-version="2.5.0",
org.eclipse.equinox.ds;bundle-version="1.1.100",
com.javacraft.properties;bundle-version="1.2.0"
Previous Topic:e4+rcp+create
Next Topic:Rcp + wizard
Goto Forum:
  


Current Time: Sat Jul 12 09:35:02 EDT 2025

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

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

Back to the top