Javaws Basic acceptance test (BAT.jnlp) failed on UNIX platforms in nightly build
How to reproduce:
- install jre1.6.0_10 promoted build 13 (jre1.6.0_10_prom)
- install jre1.6.0_10 latest nightly (jre1.6.0_10_nightly)
- run first jre1.6.0_10_prom/bin/javaws http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/hellojaws/BAT.jnlp
- now run jre1.6.0_10_nightly/bin/javaws http://nicole1.sfbay.sun.com:8080/JavawsMustangIntegTest/hellojaws/BAT.jnlp
Application is not launching with an Exception coming:
java.lang.NullPointerException
at com.sun.javaws.DefaultMatchJRE.endTraversal(Unknown Source)
at com.sun.javaws.LaunchSelection.selectJRE(Unknown Source)
at com.sun.javaws.jnl.LaunchDesc.selectJRE(Unknown Source)
at com.sun.javaws.jnl.LaunchDesc.<init>(Unknown Source)
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.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)
Also I noticed difference in the way how application launching now:
Before (latest promoted jre) - after splash screen it is launched almost immediately.
Now - after splash you can see "Downloading application" window, then
"Launching application" window , then again "Downloading application"
window and "Launching application" window and finally application launched.
hellojaws.jar is not signed, no vm-args, only one property - jnlp.TESTNAME (see below):
<?xml version="1.0" encoding="utf-8"?>
<!-- @(#)BAT.jnlp 1.10 07/09/06 -->
<jnlp codebase="$$codebase">
<information>
<title>Java Web Start Test Case -- BAT</title>
<vendor>Sun Microsystems, Inc.</vendor>
<homepage href="homepage.html"/>
<description>Basic Acceptance Test</description>
<description kind="one-line">This test is
used for basic acceptance test for Java Web Start.</description>
<description kind="tooltip">Not worth to run it again.</description>
<description kind="short">A boring test.</description>
<icon kind="default" href="images/Button_Default.jpg"/>
<icon kind="disabled" href="images/Button_Disabled.jpg"/>
<icon kind="selected" href="images/Button_Selected.jpg"/>
<icon kind="rollover" href="images/Button_Rollover.jpg"/>
</information>
<resources>
<j2se version="1.2+"/>
<jar href="jar/hellojaws.jar"/>
<property name="jnlp.TESTNAME" value="BAT_TEST"/>
</resources>
<application-desc main-class="hellojaws"/>
</jnlp>