You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/01/02 14:04:00 UTC
[jira] [Closed] (HTTPCORE-565)
org.apache.http.pool.AbstractConnPool#toString() throws
ConcurrentModificationException
[ https://issues.apache.org/jira/browse/HTTPCORE-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed HTTPCORE-565.
-----------------------------------
Resolution: Fixed
Thanks for the report. Now a lock is acquired before the collections are traversed.
> org.apache.http.pool.AbstractConnPool#toString() throws ConcurrentModificationException
> ---------------------------------------------------------------------------------------
>
> Key: HTTPCORE-565
> URL: https://issues.apache.org/jira/browse/HTTPCORE-565
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore
> Affects Versions: 4.4.10
> Reporter: qxo
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 4.4.11
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code}
> java.util.ConcurrentModificationException
> at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
> at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
> at java.base/java.util.AbstractCollection.toString(AbstractCollection.java:472)
> at java.base/java.lang.String.valueOf(String.java:2951)
> at java.base/java.lang.StringBuilder.append(StringBuilder.java:168)
> at org.apache.http.pool.AbstractConnPool.toString(AbstractConnPool.java:675)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org