CDV ❯ ConcurrentModificationException while sending out lock statistics
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
-
-
gbevin
-
Reporter: gbevin
-
May 20, 2008
-
0
-
Watchers: 1
-
July 27, 2012
-
May 28, 2008
Description
http://forums.terracotta.org/forums/posts/list/1067.page
This is the stack trace, seems to be caused by the serialization logic in LockStatElement
java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$EntryIterator.next(HashMap.java:834) at java.util.HashMap$EntryIterator.next(HashMap.java:832) at java.util.HashMap$EntriesIterator.nextEntry(HashMap/java:696) at java.util.HashMap$EntriesIterator.next(HashMap/java:687) at java.util.HashMap$ValuesIterator.next(HashMap/java:732) at com.tc.management.lock.stats.LockStatElement.serializeTo(LockStatElement.java:319) at com.tc.management.lock.stats.TCStackTraceElement.serializeTo(TCStackTraceElement.java:65) at com.tc.net.protocol.tcm.TCMessageImpl.putNVPair(TCMessageImpl.java:288) at com.tc.management.lock.stats.LockStatisticsResponseMessage.put(LockStatisticsResponseMessage.java:52) at com.tc.management.lock.stats.LockStatisticsResponseMessage.dehydrateValues(LockStatisticsResponseMessage.java:45) at com.tc.net.protocol.tcm.TCMessageImpl.dehydrate(TCMessageImpl.java:102) at com.tc.net.protocol.tcm.TCMessageImpl.send(TCMessageImpl.java:319) at com.tc.object.handler.LockStatisticsResponseHandler.handleEvent(LockStatisticsResponseHandler.java:14) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142) java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$EntryIterator.next(HashMap.java:834) at java.util.HashMap$EntryIterator.next(HashMap.java:832) at java.util.HashMap$EntriesIterator.nextEntry(HashMap/java:696) at java.util.HashMap$EntriesIterator.next(HashMap/java:687) at java.util.HashMap$ValuesIterator.next(HashMap/java:732) at com.tc.management.lock.stats.LockStatElement.serializeTo(LockStatElement.java:319) at com.tc.management.lock.stats.TCStackTraceElement.serializeTo(TCStackTraceElement.java:65) at com.tc.net.protocol.tcm.TCMessageImpl.putNVPair(TCMessageImpl.java:288) at com.tc.management.lock.stats.LockStatisticsResponseMessage.put(LockStatisticsResponseMessage.java:52) at com.tc.management.lock.stats.LockStatisticsResponseMessage.dehydrateValues(LockStatisticsResponseMessage.java:45) at com.tc.net.protocol.tcm.TCMessageImpl.dehydrate(TCMessageImpl.java:102) at com.tc.net.protocol.tcm.TCMessageImpl.send(TCMessageImpl.java:319) at com.tc.object.handler.LockStatisticsResponseHandler.handleEvent(LockStatisticsResponseHandler.java:14) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142)