You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/03/01 00:22:00 UTC

[jira] [Commented] (LOG4J2-2276) ConcurrentModificationException 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=16381297#comment-16381297 ] 

ASF subversion and git services commented on LOG4J2-2276:
---------------------------------------------------------

Commit a07176b6a96eb062a92b6fd167332ea2bb22fbf4 in logging-log4j2's branch refs/heads/release-2.x from [~garydgregory]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=a07176b ]

[LOG4J2-2276] ConcurrentModificationException from
org.apache.logging.log4j.status.StatusLogger.&lt;clinit>(StatusLogger.java:71).

> ConcurrentModificationException 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
>            Assignee: Gary Gregory
>            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)