Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-362

ConcurrentModificationException in LogbackMDCAdapter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.9.28
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      JRE 1.6.0_25, Windows 7 64-bit

      Description

      I'm seeing ConcurrentModificationException errors like the following:

      011-05-23T04:53:31.997 | ERROR | Dispatch-001 | | | | OperationCaller | null | java.util.ConcurrentModificationException: null
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) ~[na:1.6.0_21]
      at java.util.HashMap$EntryIterator.next(HashMap.java:834) ~[na:1.6.0_21]
      at java.util.HashMap$EntryIterator.next(HashMap.java:832) ~[na:1.6.0_21]
      at java.util.HashMap.putAll(HashMap.java:523) ~[na:1.6.0_21]
      at ch.qos.logback.classic.util.LogbackMDCAdapter.put(LogbackMDCAdapter.java:76) ~[logback-classic.jar:na]
      at org.slf4j.MDC.put(MDC.java:112) ~[slf4j-api.jar:1.6.1]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                logback-dev Logback dev list
                Reporter:
                snstanton Scott Stanton
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: