[
https://issues.apache.org/jira/browse/HTTPCLIENT-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-2083.
-------------------------------------------
Fix Version/s: 5.0.2
Resolution: Fixed
> HttpClientBuilder addExecInterceptorFirst and addExecInterceptorLast NPE
> ------------------------------------------------------------------------
>
> Key: HTTPCLIENT-2083
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2083
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 5.0.1
> Reporter: Carter Kozak
> Priority: Major
> Fix For: 5.0.2
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Calling HttpClientBuilder.addExecInterceptorFirst or
> HttpClientBuilder.addExecInterceptorLast without first using
> addExecInterceptorBefore, addExecInterceptorBefore, or replaceExecInterceptor
> results in a NullPointerException.
> Unlike other builder methods addExecInterceptorFirst and
> addExecInterceptorLast do not first do a null check to conditionally
> initialize the interceptors list.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]