BrowserProxyConfigCanonicalizer throws java.lang.ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: