RCP3.2.1 & JNLP , Application doesn't launch [message #459995] |
Mon, 11 December 2006 01:49 |
Eclipse User |
|
|
|
Originally posted by: lzkbeijing.163.com
Hi,
When I open the JNLP file in a browser, Java Web Start finds all the jars and downloads them and asks for the permission to start the application. But after that nothing happens.
iceland
----------------errors---------------
!SESSION Mon Dec 11 09:48:49 CST 2006 ------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2006-12-11 09:48:49.96
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:58)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:40)
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.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
|
|
|
|
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460030 is a reply to message #460003] |
Tue, 12 December 2006 02:16 |
Eclipse User |
|
|
|
Originally posted by: lzkbeijing.163.com
------=_Part_1360_11920891.1165889968017
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
pls see the attachment below.
------=_Part_1360_11920891.1165889968017
Content-Type: text/plain; name=examples.jnlp.txt; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=examples.jnlp.txt
<?xml version="1.0" encoding="UTF-8"?>
<jnlp
spec="1.0+"
codebase="file:/d:/temp/examples"
href="examples.jnlp">
<information>
<title>Examples RCP Application</title>
<vendor>Jerome</vendor>
<homepage href="http://www.eclipse.org"/>
<description>Examples RCP Application</description>
<icon kind="splash" href="splash.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<application-desc main-class="org.eclipse.core.launcher.WebStartMain">
<argument>-nosplash</argument>
</application-desc>
<resources>
<j2se version="1.4+" />
<jar href="startup.jar"/>
<extension
name="Examples RCP Feature"
href="features/com.ibm.csdl.guardian.examples.feature_1.0.0.jnlp "/>
<property
name="osgi.instance.area"
value="@user.home/Application Data/examples"/>
<property
name="osgi.configuration.area"
value="@user.home/Application Data/examples"/>
<property
name="eclipse.product"
value="com.ibm.csdl.guardian.examples.product"/>
</resources>
</jnlp>
------=_Part_1360_11920891.1165889968017--
|
|
|
|
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460474 is a reply to message #460041] |
Thu, 21 December 2006 09:54 |
Eclipse User |
|
|
|
Originally posted by: lucas.bigeardel.anyware-tech.com
Pb is Eclipse 3.2.1 "deploy as Feature with JNLP options" exports jars
with additional release tags like :
<plugin.name>_3.2.1.<R32x_>.I<YYYYMMDD>.jar where <R32x_> or <R321_> are
the incriminated release tags.
It causes NPE in WebStartMAin.basicRun(...) line 58.
Practically, from WebStart point of view, you may have a valid root JNLP
file and download jars to your sandbox without problem and nothing seems
to happen because of this silent exception in startup.jar.
see : https://bugs.eclipse.org/bugs/show_bug.cgi?id=168747
HTH,
- LuCaS
Alex Blewitt a écrit :
> That looks OK. What about the other JNLP feature? Presumably it uses the RCP feature internally, too, and you've got an RCP feature.jnlp there as well?
>
> Also, what OS?
>
> Alex.
|
|
|
|
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460675 is a reply to message #459995] |
Wed, 27 December 2006 09:53 |
Eclipse User |
|
|
|
Originally posted by: sheng.clanfang.com
Hi,
I've got the same problem, the same project export, works with 3.2, but
not with 3.2.1 .
As what I read, it's a bug of Eclipse 3.2.1 release, so I have returned to
the release 3.2, or you can usr 3.2.2 Milestone versions.
Regards,
Sheng Fang
|
|
|
|
Powered by
FUDForum. Page generated in 0.04443 seconds