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

com.sun.deploy.net.proxy.WNetscape4ProxyConfig.getNSVersion can NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0, 5.0u3
    • deploy
    • b42
    • x86
    • windows, windows_xp

        customer reporting a NPE from :
         at com.sun.deploy.net.proxy.WNetscape4ProxyConfig.getNSVersion(Unknown Source)
        at com.sun.deploy.net.proxy.WNetscape4ProxyConfig.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.main(Unknown Source)

        looks like getNSVersion() relys on windows registry entry:
        (HKEY_LOCAL_MACHINE, "Software\\Netscape\\Netscape Navigator")
        and will crash if it is not set.
        ###@###.### 2005-05-10 14:00:54 GMT

              awoodsomsunw Ashley Woodsom (Inactive)
              herrick Andy Herrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: