Eclipse RCP 3.3M6 and Java Web Start [message #467783] |
Thu, 10 May 2007 13:36  |
Eclipse User |
|
|
|
Hello,
I'm looking for some help as i'm dealing for 2 days now with a major problem. I'm trying to launch an RCP application (using 3.3M6), with JDK 1.5/1.6 (tried both). So when the application is going to run, i always have the same exception :
!SESSION Thu May 10 19:21:58 CEST 2007 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2007-05-10 19:21:58.219
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartM ain.java:70)
at org.eclipse.equinox.launcher.Main.run(Main.java:1141)
at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain. java:50)
...
I've read some posts about this subject, a bug in startup.jar with the naming of org.eclipse.osgi jar, but there is no more startup.jar since 3.3M5, and i'm not very sure of the jnlp syntax. So here is the file i'm using (it is a sample project) :
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/WebStart/" href="v9.jnlp">
<information>
<title>TEST</title>
<vendor>ITNSA</vendor>
<icon kind="splash" href="splash.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
<argument>-nosplash </argument>
</application-desc>
<resources>
<j2se version="1.5+" />
<jar href="org.eclipse.equinox.launcher_1.0.0.v20070319.jar"/>
<extension name="the feature" href="features/com.itnsa.test.feature_1.0.0.jnlp"/>
<property name="eclipse.product" value="com.itnsa.test.application"/>
</resources>
<resources os="Windows">
<property name="osgi.instance.area" value="@user.home/Application Data/ITNSA"/>
<property name="osgi.configuration.area" value="@user.home/Application Data/ITNSA"/>
<property name="osgi.builds" value="org.eclipse.osgi@start"/>
</resources>
</jnlp>
I dont know where to search, i've even debugged the org.eclipe.equinox.launcher.WebStartMain and i dont see how it can work without redefining the osgi.bundles property. So if you have any idea, or already experienced RCP + JWS with the new eclipse startup architecture, thanks for your help
Sebastien
|
|
|
Re: Eclipse RCP 3.3M6 and Java Web Start [message #467785 is a reply to message #467783] |
Thu, 10 May 2007 13:38  |
Eclipse User |
|
|
|
------=_Part_2113_14871282.1178818787571
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sorry the previous copy/paste of the jnlp files didn't work well with the forum. I've added it as attachement.
------=_Part_2113_14871282.1178818787571
Content-Type: application/octet-stream; name=v9.jnlp
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=v9.jnlp
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/WebStart/" href="v9.jnlp">
<information>
<title>TEST</title>
<vendor>ITNSA</vendor>
<icon kind="splash" href="splash.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
<argument>-nosplash </argument>
</application-desc>
<resources>
<j2se version="1.5+" />
<jar href="org.eclipse.equinox.launcher_1.0.0.v20070319.jar"/>
<extension name="the feature" href="features/com.itnsa.test.feature_1.0.0.jnlp"/>
<property name="eclipse.product" value="com.itnsa.test.application"/>
</resources>
<resources os="Windows">
<property name="osgi.instance.area" value="@user.home/Application Data/ITNSA"/>
<property name="osgi.configuration.area" value="@user.home/Application Data/ITNSA"/>
<property name="osgi.builds" value="org.eclipse.osgi@start"/>
</resources>
</jnlp>
------=_Part_2113_14871282.1178818787571--
|
|
|
Powered by
FUDForum. Page generated in 0.08509 seconds