Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » NPE in launcher.WebstartMain
NPE in launcher.WebstartMain [message #930626] Tue, 02 October 2012 13:46 Go to next message
Elvis Dominguez is currently offline Elvis DominguezFriend
Messages: 52
Registered: July 2009
Location: Switzerland
Member
Hi all,

I have migrated our RCP application from eclipse Indigo to Juno (3.8 not
e4!).
Our application is deployed to clients using webstart technology.
After the migration a NPE is raised on launch. Here's the stacktrace:

!SESSION Tue Oct 02 14:47:12 CEST 2012
-----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2012-10-02 14:47:12.375 !MESSAGE
Exception launching the Eclipse Platform:
!STACK java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at org.eclipse.equinox.launcher.WebStartMain.basicRun
(WebStartMain.java:78)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.WebStartMain.main
(WebStartMain.java:57)
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 com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


What I'm missing?

Any help is appreciated, kindly elvisd
Re: NPE in launcher.WebstartMain [message #930677 is a reply to message #930626] Tue, 02 October 2012 14:31 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
It appears that the WebStartMain is not able to find the framework. Looks much like https://bugs.eclipse.org/bugs/show_bug.cgi?id=213698
Re: NPE in launcher.WebstartMain [message #931480 is a reply to message #930677] Wed, 03 October 2012 08:35 Go to previous message
Elvis Dominguez is currently offline Elvis DominguezFriend
Messages: 52
Registered: July 2009
Location: Switzerland
Member
On Tue, 02 Oct 2012 09:31:35 -0500, Thomas Watson wrote:

> It appears that the WebStartMain is not able to find the framework.
> Looks much like https://bugs.eclipse.org/bugs/show_bug.cgi?id=213698

Hi Thomas,

thank you for your input.
That lead me to resolve my issue.

The resources jnlp was not correctly defined (syntax errors) and the
org.eclipse.osgi (and others) jar wasn't downloaded.

Many thanks
Previous Topic:Equinox default timeout
Next Topic:Differences between Equinox and other OSGi implementations and general OSGi questions
Goto Forum:
  


Current Time: Thu Apr 25 10:24:30 GMT 2024

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

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

Back to the top