Bug 1276604 - [GSS] (6.4.z) Fix pontential ConcurrentModificationException when closing connections
Summary: [GSS] (6.4.z) Fix pontential ConcurrentModificationException when closing con...
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.4.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: CR1
: EAP 6.4.5
Assignee: Vaclav Tunka
QA Contact: Miroslav Novak
Depends On:
Blocks: 1235745 1247277
TreeView+ depends on / blocked
Reported: 2015-10-30 09:36 UTC by Vaclav Tunka
Modified: 2017-01-17 11:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2017-01-17 11:41:23 UTC
Type: Bug

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker HORNETQ-1497 0 Major Open Potential ConcurrentModificationException when closing connections 2017-06-08 06:37:55 UTC

Description Vaclav Tunka 2015-10-30 09:36:38 UTC
Description of problem:
org.hornetq.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.hornetq.api.core.management.HornetQServerControl#closeConsumerConnectionsForAddress.

Version-Release number of selected component (if applicable):

Comment 3 Ondřej Kalman 2015-11-02 14:54:06 UTC
Verified with 6.4.5.CP.CR1

Comment 4 Petr Penicka 2017-01-17 11:41:23 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Comment 5 Petr Penicka 2017-01-17 11:42:34 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Note You need to log in before you can comment on or make changes to this bug.