Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » RCP starts in IDE, but not when exported.
RCP starts in IDE, but not when exported. [message #1116459] Wed, 25 September 2013 09:30 Go to next message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 895
Registered: July 2009
Senior Member
suspect this NPE to be related to the start order of plugins. the RCP
starts ok, when running in Eclipse, but when exported I get the exception.

Any idea?

!ENTRY org.eclipse.osgi 4 0 2013-09-25 09:14:56.818
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:124)
at
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:471)
at
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:199)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:581)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)


TIA, Christophe
Re: RCP starts in IDE, but not when exported. [message #1116471 is a reply to message #1116459] Wed, 25 September 2013 09:54 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1213
Registered: July 2012
Senior Member
Seems like your startup configuration is missing something.

Maybe this helps http://wiki.eclipse.org/Eclipse4/RCP/FAQ#Why_won.27t_my_application_start.3F
Re: RCP starts in IDE, but not when exported. [message #1117252 is a reply to message #1116471] Thu, 26 September 2013 04:41 Go to previous message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 895
Registered: July 2009
Senior Member
On 25-09-13 15:54, Dirk Fauth wrote:
> Seems like your startup configuration is missing something.
>
> Maybe this helps
> http://wiki.eclipse.org/Eclipse4/RCP/FAQ#Why_won.27t_my_application_start.3F
>
Hi Dirk, Thank you, for reminding me this. I did build an e4 before
(https://github.com/dzonekl/e4mf)
, but totally forgot about this! Problem fixed!
Rgds Christophe
Previous Topic:e4 compat layer and programmatic Action contributions.
Next Topic:com.ibm.icu =&gt; the small version please.
Goto Forum:
  


Current Time: Thu Jul 24 23:59:00 EDT 2014

Powered by FUDForum. Page generated in 0.02342 seconds