[Bug 1299] New: WebStart doesn't read socket proxy settings from firefox correctly

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Feb 7 05:51:12 PST 2013


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1299

            Bug ID: 1299
           Summary: WebStart doesn't read socket proxy settings from
                    firefox correctly
    Classification: Unclassified
           Product: IcedTea-Web
           Version: hg
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: NetX (javaws)
          Assignee: omajid at redhat.com
          Reporter: jozo.hovan at gmail.com
                CC: unassigned at icedtea.classpath.org

I am using manual proxy setting in Mozilla Firefox/Iceweasel. In javaws runtime
socket proxy host setting is not parsed from firefox correctly. WebService
application fails with:

java.lang.IllegalArgumentException: hostname can't be null
    at java.net.InetSocketAddress.<init>(InetSocketAddress.java:139)
    at
net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowserConfiguration(BrowserAwareProxySelector.java:274)
    at
net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:187)
    at
net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:208)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)

In my firefox's prefs.js file is:
user_pref("network.proxy.socks", "localhost");
user_pref("network.proxy.socks_port", 3128);

I think, line 149 in
netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java is wrong:

current:
       browserSocks4ProxyHost = prefs.get("networking.proxy.socks");
should be:
       browserSocks4ProxyHost = prefs.get("network.proxy.socks");

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130207/14505497/attachment.html 


More information about the distro-pkg-dev mailing list