|
Quick Lists
|
|
Bug ID:
|
6693244
|
|
Votes
|
0
|
|
Synopsis
|
Java Web Start app fails on 6u10 beta w/ AssertionError in AuthenticationInfo.requestCompleted
|
|
Category
|
java:classes_net
|
|
Reported Against
|
b14
|
|
Release Fixed
|
6u10(b24)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
6648001
|
|
Submit Date
|
24-APR-2008
|
|
Description
|
Java Web Start application fails to start on JRE6u10 b14 (beta) with
java.lang.AssertionError after authentication attempt.
The Java Web Start Error message is:
Application Error: Unable to launch the application
The Exception tab shows:
java.lang.AssertionError
at sun.net.www.protocol.http.AuthenticationInfo.requestCompleted(Unknown Source)
at sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(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)
The problem is strictly reproducible.
Posted Date : 2008-04-24 07:43:41.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
This is most likely as a result of the changes for CR 6648001. CR 6648001 was fixed in 6u10 b13.
Aside from this, I can see the possibility that endAuthRequest can be invoked twice with the same key. endAuthRequest in turn invokes requestCompleted, which contains the assertion. If an authentication request succeeds it will be added to the cache, Authentication.addToCache, this method will invoke endAuthRequest. HttpURLConenction.getInputStream has a finally block that will also invoke endAuthRequest.
Posted Date : 2008-04-28 09:25:21.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |