-
Sub-task
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.2
-
None
-
Release Notes
-
-
Documented as Resolved Issue
-
NEW
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$KeyIterator.next(HashMap.java:828)
at java.util.AbstractSet.removeAll(AbstractSet.java:154)
at org.jgroups.blocks.BasicConnectionTable.retainAll(BasicConnectionTable.java:344)
at org.jgroups.protocols.TCP.retainAll(TCP.java:59)
at org.jgroups.protocols.BasicTCP.handleDownEvent(BasicTCP.java:265)
at org.jgroups.protocols.TP.down(TP.java:1145)
...
BasicTCP is missing a synchoronize on "members" when it passes it to TCP.retainAll.
If members is modified by another thread (in TP.handleDownEvent) while BasicConnectionTable's Set.removeAll
call is iterating over it, it triggers a ConcurrentModificationException.
- is blocked by
-
JGRP-1383 ConcurrentModificationException in BasicConnectionTable.retainAll
- Resolved