NullPointerException while trying to import a JNLP who has a <component-desc/> element.
JRE info
---------
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b43)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b43, mixed mode, sharing)
Tested OS info
-------------
Win_XP on PC
Solaris 10 on sparc
Steps to reproduce :
--------------------
1. Install mustang JRE build 43
2. Clear cache using javaws -uninstall
3. Import a jnlp with <component-desc/> element using command ,
javaws -import http://sceri.prc/~yl153753/cacheViewer/CacheViewer_Library.jnlp
It will throw the following exception :
java.lang.NullPointerException
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
And the console shows error :
----------------------------------------------------
#### Java Web Start Error:
#### null
This jnlp library can be successfully imported in Tiger ( build 1.5.0-b64 ).
###@###.### 2005-07-20 08:31:23 GMT
JRE info
---------
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b43)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b43, mixed mode, sharing)
Tested OS info
-------------
Win_XP on PC
Solaris 10 on sparc
Steps to reproduce :
--------------------
1. Install mustang JRE build 43
2. Clear cache using javaws -uninstall
3. Import a jnlp with <component-desc/> element using command ,
javaws -import http://sceri.prc/~yl153753/cacheViewer/CacheViewer_Library.jnlp
It will throw the following exception :
java.lang.NullPointerException
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
And the console shows error :
----------------------------------------------------
#### Java Web Start Error:
#### null
This jnlp library can be successfully imported in Tiger ( build 1.5.0-b64 ).
###@###.### 2005-07-20 08:31:23 GMT