hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poonam Chawla <Poonam.Cha...@mathworks.com>
Subject Sporadic ConcurrentModificationException
Date Thu, 03 Dec 2015 16:24:47 GMT
Hi,

I am sending multiple HTTP requests at the same time to a local server and sporadically encounters
this exception.

com.mathworks.apache.http.impl.nio.client.LoggingAsyncRequestExecutor exception
SEVERE: http-outgoing-5 [ACTIVE] HTTP protocol exception: null
java.util.ConcurrentModificationException
        at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:953)
        at java.util.LinkedList$ListItr.next(LinkedList.java:886)
        at com.mathworks.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequests(AbstractNIOConnPool.java:234)
        at com.mathworks.apache.http.nio.pool.AbstractNIOConnPool.release(AbstractNIOConnPool.java:224)
        at com.mathworks.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager.releaseConnection(PoolingClientAsyncConnectionManager.java:233)
        at com.mathworks.apache.http.impl.nio.conn.ManagedClientAsyncConnectionImpl.releaseConnection(ManagedClientAsyncConnectionImpl.java:387)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector.connectionRequestCompleted(DefaultAsyncRequestDirector.java:563)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector.access$000(DefaultAsyncRequestDirector.java:95)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector$InternalFutureCallback.completed(DefaultAsyncRequestDirector.java:609)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector$InternalFutureCallback.completed(DefaultAsyncRequestDirector.java:606)
        at com.mathworks.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:109)
        at com.mathworks.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager$InternalPoolEntryCallback.completed(PoolingClientAsyncConnectionManager.java:303)
        at com.mathworks.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager$InternalPoolEntryCallback.completed(PoolingClientAsyncConnectionManager.java:285)
        at com.mathworks.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:109)
        at com.mathworks.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequests(AbstractNIOConnPool.java:267)
        at com.mathworks.apache.http.nio.pool.AbstractNIOConnPool.release(AbstractNIOConnPool.java:224)
        at com.mathworks.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager.releaseConnection(PoolingClientAsyncConnectionManager.java:233)
        at com.mathworks.apache.http.impl.nio.conn.ManagedClientAsyncConnectionImpl.releaseConnection(ManagedClientAsyncConnectionImpl.java:387)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector.connectionRequestCompleted(DefaultAsyncRequestDirector.java:563)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector.access$000(DefaultAsyncRequestDirector.java:95)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector$InternalFutureCallback.completed(DefaultAsyncRequestDirector.java:609)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector$InternalFutureCallback.completed(DefaultAsyncRequestDirector.java:606)
        at com.mathworks.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:109)
        at com.mathworks.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager$InternalPoolEntryCallback.completed(PoolingClientAsyncConnectionManager.java:303)
        at com.mathworks.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager$InternalPoolEntryCallback.completed(PoolingClientAsyncConnectionManager.java:285)
        at com.mathworks.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:109)
        at com.mathworks.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequests(AbstractNIOConnPool.java:267)
        at com.mathworks.apache.http.nio.pool.AbstractNIOConnPool.release(AbstractNIOConnPool.java:224)
        at com.mathworks.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager.releaseConnection(PoolingClientAsyncConnectionManager.java:233)
        at com.mathworks.apache.http.impl.nio.conn.ManagedClientAsyncConnectionImpl.releaseConnection(ManagedClientAsyncConnectionImpl.java:387)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector.releaseConnection(DefaultAsyncRequestDirector.java:412)
        at com.mathworks.apache.http.impl.nio.client.DefaultAsyncRequestDirector.responseCompleted(DefaultAsyncRequestDirector.java:484)
        at com.mathworks.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:368)
        at com.mathworks.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:252)
        at com.mathworks.apache.http.impl.nio.client.LoggingAsyncRequestExecutor.inputReady(LoggingAsyncRequestExecutor.java:95)
        at com.mathworks.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:190)
        at com.mathworks.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:125)
        at com.mathworks.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:50)
        at com.mathworks.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:112)
        at com.mathworks.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
        at com.mathworks.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
        at com.mathworks.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
        at com.mathworks.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
        at com.mathworks.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
        at com.mathworks.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)

Appreciate your help.

Thanks,
Poonam

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