You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Gary Greenberg (JIRA)" <ji...@apache.org> on 2018/09/28 20:45:00 UTC
[jira] [Created] (NETBEANS-1315) Exception on switching proxies
Gary Greenberg created NETBEANS-1315:
----------------------------------------
Summary: Exception on switching proxies
Key: NETBEANS-1315
URL: https://issues.apache.org/jira/browse/NETBEANS-1315
Project: NetBeans
Issue Type: Bug
Components: platform - Proxy
Affects Versions: 9.0
Reporter: Gary Greenberg
Tried to switch from system proxy to 'No proxy' option in IDE options.
Got the following exception:
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.core.ui.options.general.GeneralOptionsModel$1
java.lang.NullPointerException
at java.util.ArrayList.addAll(ArrayList.java:581)
at org.netbeans.core.network.proxy.NbProxySelector.select(NbProxySelector.java:168)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:589)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:357)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1040)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1038)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1037)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
at org.netbeans.core.ui.options.general.GeneralOptionsModel.testHttpConnection(GeneralOptionsModel.java:309)
at org.netbeans.core.ui.options.general.GeneralOptionsModel.testProxy(GeneralOptionsModel.java:294)
at org.netbeans.core.ui.options.general.GeneralOptionsModel.access$000(GeneralOptionsModel.java:37)
at org.netbeans.core.ui.options.general.GeneralOptionsModel$1.run(GeneralOptionsModel.java:219)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists