jira-importer opened a new issue, #1397: URL: https://github.com/apache/httpcomponents-core/issues/1397
**[Asankha Chamath Perera](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=asankha)** opened **[HTTPCORE-31](https://issues.apache.org/jira/browse/HTTPCORE-31?redirect=false)** and commented I am seeing a ConcurrentModificationException thrown by DefaultConnectingIOReactor.processTimeouts() when a load test is being performed. The Javadocs for the Selector.keys() states that the returned Set is not directly modifiable, but a key is removed only after it has been cancelled and its channel deregistered. I have started the DefaultConnectingIOReactor with two worker nodes Exception in thread "HttpCoreNIOSender" java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841) at java.util.HashMap$KeyIterator.next(HashMap.java:877) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010) at org.apache.http.nio.impl.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:151) at org.apache.http.nio.impl.reactor.DefaultConnectingIOReactor.execute(DefaultConnectingIOReactor.java:92) at org.apache.axis2.transport.nhttp.HttpCoreNIOSender.executeClientEngine(HttpCoreNIOSender.java:103) at org.apache.axis2.transport.nhttp.HttpCoreNIOSender.access$000(HttpCoreNIOSender.java:57) at org.apache.axis2.transport.nhttp.HttpCoreNIOSender$1.run(HttpCoreNIOSender.java:80) at java.lang.Thread.run(Thread.java:595) --- **Affects:** 4.0-alpha4 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
