Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1.3, 4.2 Final
-
None
Description
The HttpHost cames back as null, causing a NullPointerException when using CachingHttpClient.
HttpHost actualHost = (HttpHost)requestContext.getAttribute(ExecutionContext.HTTP_TARGET_HOST);
The host should be set in the HttpContext.