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

XMLWordPrintable

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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: