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

Unecessary tracing of expected FileNotFoundException with CacheUpgrade.properties on unix platforms

    Details

    • Subcomponent:
    • Resolved In Build:
      b135
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      This bug is to follow up with 7024603.
      The HTTPS connection can be created but the applet still threw exception.

      Tested build: jdk7 b134-pit
      http://rehudson.sfbay.sun.com/hudsonws/deploypit/bundles/linux-i586/b255-2011-03-09_48/
      http://jre.sfbay.sun.com/java/re/jdk/6u26/latest/bundles/linux-i586/
      Tested OS:Ubuntu 10.04
      Tested browser: firefox 3.6

      Steps to reproduce
      1) Register browser with 6u26
      2) Open the following applet
      http://sqeweb.sfbay.sun.com/jsn/users/sheldon/webCases/cr4684648/AppletTest.html
      3) Accept the security pop-up
      4) Applet should run fine
      5) Close browser
      6) resgiter browser with b134-pit
      7) Run the same applet agains
      8) Applet should run fine and have no exception.Now the applet run fine but an exception is still threw.

      java.security.PrivilegedActionException: java.io.FileNotFoundException: /home/javafx/.java/deployment/CacheUpgrade.properties (No such file or directory)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.config.Platform.getCacheUpgradeProperties(Unknown Source)
      at com.sun.deploy.config.Platform.getCacheUpgradeInfo(Unknown Source)
      at com.sun.deploy.cache.UpgradeStatus.beenInitialized(Unknown Source)
      at com.sun.deploy.cache.CacheUpgrader.getSystemInstance(Unknown Source)
      at com.sun.deploy.cache.Cache.getCacheEntry(Unknown Source)
      at com.sun.deploy.cache.Cache.getCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)
      at com.sun.deploy.cache.DeployCacheHandler.get(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at java.net.HttpURLConnection.getResponseCode(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.FileNotFoundException: /home/javafx/.java/deployment/CacheUpgrade.properties (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(Unknown Source)
      at com.sun.deploy.config.Platform$2.run(Unknown Source)
      ... 27 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nam Nam Nguyen (Inactive)
                Reporter:
                yanqchen Sheldon Chen (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: