Jan Engehausen created HTTPCLIENT-1766:
------------------------------------------

             Summary: SystemDefaultRoutePlanner: Possible null pointer 
dereference
                 Key: HTTPCLIENT-1766
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1766
             Project: HttpComponents HttpClient
          Issue Type: Bug
    Affects Versions: 4.5.2
            Reporter: Jan Engehausen


We're using the SoapUI Maven plugin 5.2.1 and have found that it sets the 
default proxy selector for 
https://docs.oracle.com/javase/7/docs/api/java/net/ProxySelector.html to 
{{null}}. According to JavaDoc this is legal ("[...] unsets the proxy 
selector"), but now {{getDefault()}} returns {{null}}.

As a consequence a {{NullPointerException}} can be observed:

{code}
SystemDefaultRoutePlanner.java:79
        List proxies = this.proxySelector.select(targetURI);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to