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 5513EE468 for ; Wed, 6 Feb 2013 19:35:16 +0000 (UTC) Received: (qmail 8421 invoked by uid 500); 6 Feb 2013 19:35:16 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 8045 invoked by uid 500); 6 Feb 2013 19:35:15 -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 7763 invoked by uid 99); 6 Feb 2013 19:35:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2013 19:35:15 +0000 Date: Wed, 6 Feb 2013 19:35:15 +0000 (UTC) From: "Bill van Melle (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1173) NoSuchElementException in org.apache.http.impl.cookie.BestMatchSpec.formatCookies 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-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572722#comment-13572722 ] Bill van Melle commented on HTTPCLIENT-1173: -------------------------------------------- And it happened again today, this time with the latest jdk7u13 from Oracle on Windows 7. Same deal -- the error happened repeatedly (for well over an hour) until I stopped in the debugger, and then it recovered. > NoSuchElementException in org.apache.http.impl.cookie.BestMatchSpec.formatCookies > --------------------------------------------------------------------------------- > > Key: HTTPCLIENT-1173 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1173 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 4.1.2, 4.1.3 > Environment: Ubuntu 10.04/OpenJDK 6 > Reporter: Christian Thieme > > I am using the HTTP client using a ThreadSafeClientConnManager. The application is creating up to 300 client threads. > Occasionally the client starts to throw the following exception after running for several hours: > at java.util.ArrayList$Itr.next(ArrayList.java:757) > at org.apache.http.impl.cookie.BestMatchSpec.formatCookies(BestMatchSpec.java:189) > at org.apache.http.client.protocol.RequestAddCookies.process(RequestAddCookies.java:196) > at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:108) > at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:174) > at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:462) > at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) > at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) > The requests do not contain any cookies. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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