Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.0.1
-
None
Description
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.
Attachments
Issue Links
- is duplicated by
-
HTTPCLIENT-2085 NPE in HttpClientBuilder addExecInterceptorFirst and addExecInterceptorLast
- Resolved