Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2276

ConcurrentModificationException from org.apache.logging.log4j.status.StatusLogger.<clinit>(StatusLogger.java:71)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.0
    • Fix Version/s: 2.11.0, 3.0.0
    • Component/s: API
    • Labels:
      None
    • Environment:

      Description

      Looks like the class constructor in StatusLogger has an issue.

      Caused by: java.util.ConcurrentModificationException

      at java.util.Hashtable$Enumerator.next(Hashtable.java:1383)
      at org.apache.logging.log4j.util.SystemPropertiesPropertySource.forEach(SystemPropertiesPropertySource.java:38)
      at org.apache.logging.log4j.util.PropertiesUtil$Environment.reload(PropertiesUtil.java:330)
      at org.apache.logging.log4j.util.PropertiesUtil$Environment.<init>(PropertiesUtil.java:322)
      at org.apache.logging.log4j.util.PropertiesUtil$Environment.<init>(PropertiesUtil.java:310)
      at org.apache.logging.log4j.util.PropertiesUtil.<init>(PropertiesUtil.java:69)
      at org.apache.logging.log4j.status.StatusLogger.<clinit>(StatusLogger.java:71)
      ... 18 more

        Attachments

          Activity

            People

            • Assignee:
              garydgregory Gary Gregory
              Reporter:
              nagash Sean Baxter
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: