Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-372 plan for JDK 9/jigsaw
  3. SLF4J-403

Issue with SubsituteLoggerFactory new to version 1.8.0

    XMLWordPrintable

Details

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.0-alpha0
    • None
    • Implementations
    • None

    Description

      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
      

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            ceki Ceki Gülcü
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: