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

ArrayIndexOutOfBoundsException in WIExplorerProxyConfig.isAutoDetectEnabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • None
    • deploy
    • windows vista enterprise. Build 6002: Service pack 2

      while running an auto update on a windows vista box I encountered the following exception (IE was running at the time and needed to be shutdown) - I'm not sure if that's connected. Looking at the code in question, the assumption that the array of bytes returned will contain at least 9 bytes.

      The comment suggests to grab the 8th byte even though the 9th byte is being accessed in the array.

      java.lang.ArrayIndexOutOfBoundsException: 8
      at com.sun.deploy.net.proxy.WIExplorerProxyConfig.isAutoDetectEnabled(Unknown Source)
      at com.sun.deploy.net.proxy.WIExplorerProxyConfig.getBrowserProxyInfo(Unknown Source)
      at com.sun.deploy.net.proxy.WDefaultBrowserProxyConfig.getBrowserProxyInfo(Unknown Source)
      at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
      at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
      at com.sun.javaws.Main.initializeExecutionEnvironment(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)

      This seems like old code. It's just something I noticed while running an unrelated test.

            dcherepanov Dmitry Cherepanov
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: