activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Bertram (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-289) Potential ConcurrentModificationException when closing connections
Date Thu, 29 Oct 2015 18:44:27 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Bertram updated ARTEMIS-289:
-----------------------------------
    Affects Version/s: 1.1.0

> Potential ConcurrentModificationException when closing connections
> ------------------------------------------------------------------
>
>                 Key: ARTEMIS-289
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-289
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>             Fix For: 1.1.1
>
>
> org.apache.activemq.artemis.core.server.impl.QueueImpl#getConsumers returns the actual
Set of consumers, but if another thread modifies this collection while the caller loops through
the Set then a ConcurrentModificationException will be thrown.  This is possible particularly
in management operations that work on the Set of consumers like org.apache.activemq.artemis.api.core.management.ActiveMQServerControl#closeConsumerConnectionsForAddress.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message