JDK-6921937 : Applet does not download every other jar file to cache.
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0u20
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2010-02-01
  • Updated: 2010-05-07
  • Resolved: 2010-02-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u20Resolved
Related Reports
Duplicate :  
Description
Users of an on-line banking app are getting java exceptions when the applet they choose is loading.
Java is downloading the jar files that the applet has requested into the client's cache.
The java console log shows that only every other jar file is being loaded into cache.
When a method from a jar that does not get downloaded is accessed, the user gets a java exception.

e.g.
network: Connecting https://us.xyz.com/proxy/.../TMSControl.class with cookie...

java.lang.RuntimeException: java.lang.NullPointerException
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
        at java.net.HttpURLConnection.getResponseCode(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
        at sun.applet.AppletClassLoader.getBytes(Unknown Source)
        at sun.applet.AppletClassLoader.access$100(Unknown Source)
        at sun.applet.AppletClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        ...

Comments
EVALUATION This is a duplicate of 6921939. Please close this bug, as I cannot add 6921939 to the duplicate field here in this bug.
01-02-2010