hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Engehausen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1766) SystemDefaultRoutePlanner: Possible null pointer dereference
Date Sun, 04 Sep 2016 05:27:21 GMT
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

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

	List proxies = this.proxySelector.select(targetURI);

This message was sent by Atlassian JIRA

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

View raw message