-
Bug
-
Resolution: Fixed
-
P3
-
6
JDK-Info:
---------
PIT 6.0 b56
Operating System:
-----------------
Generic
Steps to Reproduce:
-------------------
1) Install PIT b56 jre
2) Clean cache (\rm -rf ~/.java)
3) Launch a JNLP Application on http web url with port 8443 (https enabled server)
(./javaws http://ramkumar.india.sun.com:8443/JaWS_mywork/Test/Test.jnlp)
"Unable to launch the application" - Application error dialog is displayed with the following NullPointerException. The error message is misleading and thus unable to identify the reason for the error caused.
java.lang.NullPointerException
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)
Same Application when a different un-used port (e.g. 8032) is used, "Error: Could not load file/URL specified: http://ramkumar.india.sun.com:8032/JaWS_mywork/Test/Test.jnlp" is thrown
CouldNotLoadArgumentException[ Could not load file/URL specified: http://ramkumar.india.sun.com:8032/JaWS_mywork/Test/Test.jnlp]
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)
Expected Behavior:
------------------
When the specified URL/file is invalid, "Error: Could not load file/URL specified:" error dialog with "CouldNotLoadArgumentException[ Could not load file/URL specified:..." Exception should be thrown, which makes the user identify the error cause easily
---------
PIT 6.0 b56
Operating System:
-----------------
Generic
Steps to Reproduce:
-------------------
1) Install PIT b56 jre
2) Clean cache (\rm -rf ~/.java)
3) Launch a JNLP Application on http web url with port 8443 (https enabled server)
(./javaws http://ramkumar.india.sun.com:8443/JaWS_mywork/Test/Test.jnlp)
"Unable to launch the application" - Application error dialog is displayed with the following NullPointerException. The error message is misleading and thus unable to identify the reason for the error caused.
java.lang.NullPointerException
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)
Same Application when a different un-used port (e.g. 8032) is used, "Error: Could not load file/URL specified: http://ramkumar.india.sun.com:8032/JaWS_mywork/Test/Test.jnlp" is thrown
CouldNotLoadArgumentException[ Could not load file/URL specified: http://ramkumar.india.sun.com:8032/JaWS_mywork/Test/Test.jnlp]
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)
Expected Behavior:
------------------
When the specified URL/file is invalid, "Error: Could not load file/URL specified:" error dialog with "CouldNotLoadArgumentException[ Could not load file/URL specified:..." Exception should be thrown, which makes the user identify the error cause easily