java.util.ConcurrentModificationException

Terracotta Project Issue Tracker | Geert Bevin | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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)

    Terracotta Project Issue Tracker | 9 years ago | Geert Bevin
    java.util.ConcurrentModificationException

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.HashMap$HashIterator.nextEntry()
    2. Java RT
      HashMap$ValuesIterator.next
      1. java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      2. java.util.HashMap$EntryIterator.next(HashMap.java:834)
      3. java.util.HashMap$EntryIterator.next(HashMap.java:832)
      4. java.util.HashMap$EntriesIterator.nextEntry(HashMap/java:696)
      5. java.util.HashMap$EntriesIterator.next(HashMap/java:687)
      6. java.util.HashMap$ValuesIterator.next(HashMap/java:732)
      6 frames
    3. com.tc.management
      TCStackTraceElement.serializeTo
      1. com.tc.management.lock.stats.LockStatElement.serializeTo(LockStatElement.java:319)
      2. com.tc.management.lock.stats.TCStackTraceElement.serializeTo(TCStackTraceElement.java:65)
      2 frames
    4. com.tc.net
      TCMessageImpl.putNVPair
      1. com.tc.net.protocol.tcm.TCMessageImpl.putNVPair(TCMessageImpl.java:288)
      1 frame
    5. com.tc.management
      LockStatisticsResponseMessage.dehydrateValues
      1. com.tc.management.lock.stats.LockStatisticsResponseMessage.put(LockStatisticsResponseMessage.java:52)
      2. com.tc.management.lock.stats.LockStatisticsResponseMessage.dehydrateValues(LockStatisticsResponseMessage.java:45)
      2 frames
    6. com.tc.net
      TCMessageImpl.send
      1. com.tc.net.protocol.tcm.TCMessageImpl.dehydrate(TCMessageImpl.java:102)
      2. com.tc.net.protocol.tcm.TCMessageImpl.send(TCMessageImpl.java:319)
      2 frames
    7. com.tc.object
      LockStatisticsResponseHandler.handleEvent
      1. com.tc.object.handler.LockStatisticsResponseHandler.handleEvent(LockStatisticsResponseHandler.java:14)
      1 frame
    8. com.tc.async
      StageImpl$WorkerThread.run
      1. com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142)
      1 frame