Eclipse RCP 3.3M6 and Java Web Start [message #467783] |
Thu, 10 May 2007 17:36 |
Sebastien Messages: 20 Registered: July 2009 |
Junior Member |
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04057 seconds