Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6921939

Applet does not download every other jar file to cache.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 5.0u20
    • Fix Version/s: 5.0-pool
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      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)
              ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raginip Ragini Prasad (Inactive)
                Reporter:
                rabarker Rich Barker
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: