[jboss-jira] [JBoss JIRA] Resolved: (JGRP-1286) ConcurrentModificationException encountered when starting JGroups 2.12RC1 when diagnostics is enabled
Bela Ban (JIRA)
jira-events at lists.jboss.org
Thu Feb 10 06:24:46 EST 2011
[ https://issues.jboss.org/browse/JGRP-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban resolved JGRP-1286.
----------------------------
Resolution: Done
Replaced HashSet with a CopyOnWriteArraySet
> ConcurrentModificationException encountered when starting JGroups 2.12RC1 when diagnostics is enabled
> -----------------------------------------------------------------------------------------------------
>
> Key: JGRP-1286
> URL: https://issues.jboss.org/browse/JGRP-1286
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.12
> Reporter: William Burns
> Assignee: Bela Ban
> Fix For: 2.12
>
>
> I saw this error once when starting up my server using the default TCP.xml file. I have not been able to reproduce it more than once.
> I just wanted to submit this so that the handlers object can be properly protected via synchronization or java.util.concurrent related facility.
> 48 E 15:55:19,696 (TCP ) failure handling diagnostics request java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
> at java.util.HashMap$KeyIterator.next(Unknown Source)
> at org.jgroups.protocols.TP$DiagnosticsHandler.handleDiagnosticProbe(TP.java:2157)
> at org.jgroups.protocols.TP$DiagnosticsHandler.run(TP.java:2130)
> at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list