Community Development (Terracotta Server)
  1. Community Development (Terracotta Server)
  2. CDV-761

ConcurrentModificationException while sending out lock statistics

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: 2 Major 2 Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.1
    • Component/s: None
    • Labels:
      None
    • Severity:
      2 Feature failure (but system usable), no workaround available
    • Fix In Branch:
      trunk, 2.6
    • Fixed In Revision:
      8658
    • Bug Type:
      Implementation Error

      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)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Geert Bevin
            Reporter:
            Geert Bevin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: