| RCP 4 + Webstart - Fails to load workbench [message #938211] |
Tue, 09 October 2012 13:07  |
Brad Maxwell Messages: 5 Registered: October 2012 |
Junior Member |
|
|
I'm trying to convert an Eclipse 3 application to Eclipse 4. The app launches from the IDE without any issues, but I'm unable to start the workbench when starting from webstart.
The stack trace of the exception is:
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:442)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:182)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:554)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
Based on other posts, I suspect that I'm missing a plugin when I launch via webstart. The logs appear to be clean at this point, though, except for the exception. I've tried what's been suggested in other posts (hopefully correctly), but I'm still missing something. I'd appreciate any help in diagnosing the problem.
I'd like to be able to list loaded plugins from the osgi console to provide more info, but I'm not having any luck with the approach I've seen (-console and port in the startup params, then telnet to the port). Any help there would also be appreciated.
Some things to note:
* I don't have a custom config.ini
* equinox.ds and equinox.event are added to my launch config and jnlp jars
* equinox.ds is marked with a start level of 1 and marked as auto start
* Eclipse release is 20120614-1722
* Running under Windows, launching from JBoss 4.2.3
Thanks in advance,
Brad
|
|
|
| Re: RCP 4 + Webstart - Fails to load workbench [message #938822 is a reply to message #938211] |
Wed, 10 October 2012 03:21   |
Thomas Schindl Messages: 4462 Registered: July 2009 |
Senior Member |
|
|
It looks like equinox.ds is not running, not sure why it is not when
running with webstart.
Tom
Am 09.10.12 19:07, schrieb Brad Maxwell:
> I'm trying to convert an Eclipse 3 application to Eclipse 4. The app
> launches from the IDE without any issues, but I'm unable to start the
> workbench when starting from webstart.
>
> The stack trace of the exception is:
>
> 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:442)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:182)
>
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:554)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
>
>
> Based on other posts, I suspect that I'm missing a plugin when I launch
> via webstart. The logs appear to be clean at this point, though, except
> for the exception. I've tried what's been suggested in other posts
> (hopefully correctly), but I'm still missing something. I'd appreciate
> any help in diagnosing the problem.
>
> I'd like to be able to list loaded plugins from the osgi console to
> provide more info, but I'm not having any luck with the approach I've
> seen (-console and port in the startup params, then telnet to the
> port). Any help there would also be appreciated.
>
> Some things to note:
> * I don't have a custom config.ini
> * equinox.ds and equinox.event are added to my launch config and jnlp jars
> * equinox.ds is marked with a start level of 1 and marked as auto start
> * Eclipse release is 20120614-1722
> * Running under Windows, launching from JBoss 4.2.3
>
> Thanks in advance,
> Brad
|
|
|
|
|
|
|
|
|
| Re: RCP 4 + Webstart - Fails to load workbench [message #945847 is a reply to message #941261] |
Mon, 15 October 2012 14:09  |
Brad Maxwell Messages: 5 Registered: October 2012 |
Junior Member |
|
|
Ah, a web page I had forgotten about cause I don't know where the <configurations> node would go. So the plugin start settings in my <app>.product file don't get used by webstart, I guess?
I added these under the osgi.bundles property in my jnlp and it works great now.
Thanks for the help, guys!
|
|
|
Powered by
FUDForum. Page generated in 0.01836 seconds