[
https://issues.apache.org/jira/browse/HTTPCLIENT-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577812#comment-13577812
]
Oleg Alexeyev edited comment on HTTPCLIENT-1173 at 2/13/13 7:33 PM:
--------------------------------------------------------------------
We've just run into this problem after switching to JRE 1.7 with Server HotSpot
VM. "-XX:-UseLoopPredicate and -XX:LoopUnrollLimit=1" didn't help. After
playing with JVM options a bit, it looks like "-XX:-LoopUnswitching" helps to
solve this. Checking now under more load...
was (Author: blacklion):
We've just run into this problem after switching to JRE 1.7 with Server
HotSpot VM. After playing with JVM options a bit, it looks like
"-XX:-LoopUnswitching" helps to solve this. Checking now under more load...
> 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: [email protected]
For additional commands, e-mail: [email protected]