[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-1766.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.5.3

Fixed by 
https://github.com/apache/httpclient/commit/f779a4b65d04ef3ad8ab766d041e36eb4da0b564

Oleg

> 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
>             Fix For: 4.5.3
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to