You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Jira)" <ji...@apache.org> on 2020/06/12 08:29:00 UTC
[jira] [Resolved] (HTTPCLIENT-2083) HttpClientBuilder
addExecInterceptorFirst and addExecInterceptorLast NPE
[ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org