Steps to reproduce
1. Invoke javaws -uninstall to clear cache or clear cache using Java control panel
2. Make sure that pop-up blocker is turned off and set browser TAB settings to always open new page inside new window
3. Open http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCJNLPTest.html inside new browser window
4. There should be Authenticated pop-up from browser. Enter credentials as User: jituB and password: jitu20
5. Click on "Webstart: click to launch this app as webstart"
6. There should be Authenticated pop-up from Java. Enter credentials as User: jituB and password: jitu20
7. There should be prompt to create shortcut. Allow to create shortcut and make sure that shorcut with name"ShowDocumAuthSCTest" is getting created
8. JNLP Application should get loaded fine
9. Now close the application and click on shorctut "ShowDocumAuthSCTest". Make sure that application is getting launched
10. Wait untill the Authenticated pop-up shows up.
11. Enter credentials as User: jituB and password: jitu20
Expect:
12. The applicaiton should get launched successfully.
As a result:
12. Now the Authenticated pop-up shows up again with NullPointerException.
network: Encoding for http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCTest.jnlp : null
Exception in thread "Background Update Thread" java.lang.NullPointerException
at com.sun.javaws.exceptions.JNLPException.toString(Unknown Source)
at java.lang.String.valueOf(Unknown Source)
at java.io.PrintStream.println(Unknown Source)
at java.lang.Throwable$WrappedPrintStream.println(Unknown Source)
at java.lang.Throwable.printStackTrace(Throwable.java:654)
at java.lang.Throwable.printStackTrace(Throwable.java:642)
at java.lang.Throwable.printStackTrace(Throwable.java:633)
at com.sun.deploy.trace.Trace.ignored(Unknown Source)
at com.sun.deploy.trace.Trace.ignoredException(Unknown Source)
at com.sun.javaws.jnl.LDUpdater$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
network: Firewall authentication: site=mossad.us.oracle.com/10.133.132.226:8080, protocol=http, prompt=testBasicRealm, scheme=basic
Ignored exception: java.lang.NullPointerException
network: ResponseCode for http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCTest.jnlp : 401
network: Encoding for http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCTest.jnlp : null
Exception in thread "Background Update Thread" java.lang.NullPointerException
at com.sun.javaws.exceptions.JNLPException.toString(Unknown Source)
at java.lang.String.valueOf(Unknown Source)
at java.io.PrintStream.println(Unknown Source)
at java.lang.Throwable$WrappedPrintStream.println(Unknown Source)
at java.lang.Throwable.printStackTrace(Throwable.java:654)
at java.lang.Throwable.printStackTrace(Throwable.java:642)
at java.lang.Throwable.printStackTrace(Throwable.java:633)
at com.sun.deploy.trace.Trace.ignored(Unknown Source)
at com.sun.deploy.trace.Trace.ignoredException(Unknown Source)
at com.sun.javaws.jnl.LDUpdater$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
1. Invoke javaws -uninstall to clear cache or clear cache using Java control panel
2. Make sure that pop-up blocker is turned off and set browser TAB settings to always open new page inside new window
3. Open http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCJNLPTest.html inside new browser window
4. There should be Authenticated pop-up from browser. Enter credentials as User: jituB and password: jitu20
5. Click on "Webstart: click to launch this app as webstart"
6. There should be Authenticated pop-up from Java. Enter credentials as User: jituB and password: jitu20
7. There should be prompt to create shortcut. Allow to create shortcut and make sure that shorcut with name"ShowDocumAuthSCTest" is getting created
8. JNLP Application should get loaded fine
9. Now close the application and click on shorctut "ShowDocumAuthSCTest". Make sure that application is getting launched
10. Wait untill the Authenticated pop-up shows up.
11. Enter credentials as User: jituB and password: jitu20
Expect:
12. The applicaiton should get launched successfully.
As a result:
12. Now the Authenticated pop-up shows up again with NullPointerException.
network: Encoding for http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCTest.jnlp : null
Exception in thread "Background Update Thread" java.lang.NullPointerException
at com.sun.javaws.exceptions.JNLPException.toString(Unknown Source)
at java.lang.String.valueOf(Unknown Source)
at java.io.PrintStream.println(Unknown Source)
at java.lang.Throwable$WrappedPrintStream.println(Unknown Source)
at java.lang.Throwable.printStackTrace(Throwable.java:654)
at java.lang.Throwable.printStackTrace(Throwable.java:642)
at java.lang.Throwable.printStackTrace(Throwable.java:633)
at com.sun.deploy.trace.Trace.ignored(Unknown Source)
at com.sun.deploy.trace.Trace.ignoredException(Unknown Source)
at com.sun.javaws.jnl.LDUpdater$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
network: Firewall authentication: site=mossad.us.oracle.com/10.133.132.226:8080, protocol=http, prompt=testBasicRealm, scheme=basic
Ignored exception: java.lang.NullPointerException
network: ResponseCode for http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCTest.jnlp : 401
network: Encoding for http://mossad.us.oracle.com:8080/basicAuth/tests/fxfeaturesTest/fxfeaturesTest/html/ShowDocumAuthSCTest.jnlp : null
Exception in thread "Background Update Thread" java.lang.NullPointerException
at com.sun.javaws.exceptions.JNLPException.toString(Unknown Source)
at java.lang.String.valueOf(Unknown Source)
at java.io.PrintStream.println(Unknown Source)
at java.lang.Throwable$WrappedPrintStream.println(Unknown Source)
at java.lang.Throwable.printStackTrace(Throwable.java:654)
at java.lang.Throwable.printStackTrace(Throwable.java:642)
at java.lang.Throwable.printStackTrace(Throwable.java:633)
at com.sun.deploy.trace.Trace.ignored(Unknown Source)
at com.sun.deploy.trace.Trace.ignoredException(Unknown Source)
at com.sun.javaws.jnl.LDUpdater$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)