You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Sean Baxter (JIRA)" <ji...@apache.org> on 2018/02/28 19:26:00 UTC

[jira] [Commented] (LOG4J2-2276) Getting ConcurrentModificationException stemming from org.apache.logging.log4j.status.StatusLogger.(StatusLogger.java:71)

    [ https://issues.apache.org/jira/browse/LOG4J2-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380898#comment-16380898 ] 

Sean Baxter commented on LOG4J2-2276:
-------------------------------------

Apologies in advance if something looks off about this bug report.  It is my first time filing a bug here.

> Getting ConcurrentModificationException stemming from org.apache.logging.log4j.status.StatusLogger.<clinit>(StatusLogger.java:71)
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-2276
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2276
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.10.0
>         Environment: Server version: Apache Tomcat/8.5.23
> Server built: Sep 28 2017 10:30:11 UTC
> OS Name: Windows Server 2008 R2
> Architecture: amd64
> JVM Version: 1.8.0_151-b12
> JVM Vendor: Oracle Corporation
> JAR:
> log4j-api-2.10.0.jar
>            Reporter: Sean Baxter
>            Priority: Major
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)