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

BrowserProxyConfigCanonicalizer throws java.lang.ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • deploy
    • None
    • b14
    • generic
    • generic

      on all platforms

      run a jnlp application with mustang java web start, and then in jnlp file specify 1.4* to force it to be launched with a 1.4 jre.

      in the default browser, make it to use a proxy pac file.

      this will trigger the BrowserProxyConfigCanonicalizer code to parse the pac file, and will throw exception:

      java.lang.ArrayIndexOutOfBoundsException: 0
      at com.sun.deploy.net.proxy.BrowserProxyConfigCanonicalizer.canonicalizeAutoConfigProxy(Unknown Source)
      at com.sun.deploy.net.proxy.BrowserProxyConfigCanonicalizer.<init>(Unknown Source)
      at com.sun.deploy.services.WPlatformService14.getProxyConfig(Unknown Source)
      at com.sun.deploy.net.proxy.StaticProxyManager.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)

      ###@###.### 2004-11-12 01:37:42 GMT

            herrick Andy Herrick (Inactive)
            ngthomas Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: