Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A383190F5 for ; Thu, 31 May 2012 14:01:24 +0000 (UTC) Received: (qmail 55282 invoked by uid 500); 31 May 2012 14:01:24 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 55236 invoked by uid 500); 31 May 2012 14:01:24 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 55130 invoked by uid 99); 31 May 2012 14:01:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 14:01:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 080CF142857 for ; Thu, 31 May 2012 14:01:24 +0000 (UTC) Date: Thu, 31 May 2012 14:01:24 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: <1207694438.21882.1338472884036.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1985112493.16758.1338393623834.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HTTPCLIENT-1198) HttpHost is not set in HttpContext in CachingHttpClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCLIENT-1198: ------------------------------------------ Priority: Major (was: Critical) > HttpHost is not set in HttpContext in CachingHttpClient > ------------------------------------------------------- > > Key: HTTPCLIENT-1198 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1198 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: Cache, HttpClient > Affects Versions: 4.1.3, 4.2 Final > Reporter: Ilirjan Papa > Fix For: 4.2.1 > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org