hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lalit Sahoo" <lali...@sonata-software.com>
Subject java.util.ConcurrentModificationException
Date Wed, 15 Nov 2006 09:56:34 GMT
Hi All,

While using HttpClient in multithreaded environment I am getting following error:

java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
	at java.util.AbstractList$Itr.next(AbstractList.java:419)
	at org.apache.commons.httpclient.HeaderGroup.getHeaders(HeaderGroup.java:142)
	at org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1167)
	at org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders(HttpMethodBase.java:1320)
	at org.apache.commons.httpclient.methods.ExpectContinueMethod.addRequestHeaders(ExpectContinueMethod.java:184)
	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.addRequestHeaders(EntityEnclosingMethod.java:372)
	at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2079)
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1962)
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:994)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
	at ae.cramer.com.httpevaluator.ApacheHTTPClientEvaluator.sendCommand(ApacheHTTPClientEvaluator.java:186)
	at ae.cramer.com.httpevaluator.ApacheHTTPClientEvaluator.execute(ApacheHTTPClientEvaluator.java:250)
	at ae.cramer.com.test.EvaluationTest.run(EvaluationTest.java:39)
	at java.lang.Thread.run(Thread.java:534)

Can anybody help in this regard?

Regards,
Lalit

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message