[ https://jira.qos.ch/browse/SLF4J-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ceki Gülcü resolved SLF4J-403. ------------------------------ Resolution: Fixed Solved with a ConcurrentHashMap. See [commit45c12f86c|https://github.com/qos-ch/slf4j/commit/45c12f86c84c7b8c9479c275ec17ceed312b1cd1#diff-b83d130292c487622eff8ed3e0c3b3e4] > Issue with SubsituteLoggerFactory new to version 1.8.0 > ------------------------------------------------------ > > Key: SLF4J-403 > URL: https://jira.qos.ch/browse/SLF4J-403 > Project: SLF4J > Issue Type: Sub-task > Components: Implementations > Reporter: Ceki Gülcü > Assignee: SLF4J developers list > Fix For: 1.8.0 > > > {code} > java.util.ConcurrentModificationException > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894) > at java.util.HashMap$ValueIterator.next(HashMap.java:922) > at java.util.AbstractCollection.toArray(AbstractCollection.java:141) > at java.util.ArrayList.<init>(ArrayList.java:151) > at > org.slf4j.helpers.SubstituteLoggerFactory.getLoggers(SubstituteLoggerFactory.java:65) > at org.slf4j.LoggerFactory.fixSubstituteLoggers(LoggerFactory.java:216) > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:154) > at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:140) > at org.slf4j.LoggerFactory.getProvider(LoggerFactory.java:411) > at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:403) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:352) > at org.slf4j.LoggerAccessingThread.run(LoggerAccessingThread.java:55) > Exception in thread "Thread-20" java.lang.IllegalStateException: Unexpected > initialization failure > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:169) > at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:140) > at org.slf4j.LoggerFactory.getProvider(LoggerFactory.java:411) > at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:403) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:352) > at org.slf4j.LoggerAccessingThread.run(LoggerAccessingThread.java:55) > Caused by: java.util.ConcurrentModificationException > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894) > at java.util.HashMap$ValueIterator.next(HashMap.java:922) > at java.util.AbstractCollection.toArray(AbstractCollection.java:141) > at java.util.ArrayList.<init>(ArrayList.java:151) > at > org.slf4j.helpers.SubstituteLoggerFactory.getLoggers(SubstituteLoggerFactory.java:65) > at org.slf4j.LoggerFactory.fixSubstituteLoggers(LoggerFactory.java:216) > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:154) > ... 5 more > {code} -- This message was sent by Atlassian JIRA (v7.3.1#73012) _______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-dev