Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1551

Logback throws ConcurrentModificationException at cancelScheduledTasks

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.5.7
    • 1.2.3
    • logback-classic
    • None

    Description

      Faced that once when the system was being terminated:

      17:48:37,185 |-INFO in ch.qos.logback.core.hook.DelayingShutdownHook@6aeb7f97 - Sleeping for 0 milliseconds
      17:48:37,185 |-INFO in ch.qos.logback.core.hook.DelayingShutdownHook@6aeb7f97 - Sleeping for 0 milliseconds
      17:48:37,185 |-INFO in ch.qos.logback.core.hook.DelayingShutdownHook@54c45654 - Sleeping for 0 milliseconds
      17:48:37,185 |-INFO in ch.qos.logback.core.hook.DelayingShutdownHook@54c45654 - Logback context being closed via shutdown hook
      17:48:37,185 |-INFO in ch.qos.logback.core.hook.DelayingShutdownHook@6aeb7f97 - Logback context being closed via shutdown hook
      17:48:37,185 |-INFO in ch.qos.logback.classic.jmx.JMXConfigurator(default) - onReset() method called JMXActivator [ch.qos.logback.classic:Name=default,Type=ch.qos.logback.classic.jmx.JMXConfigurator]
      Exception in thread "Logback shutdown hook [default]" java.util.ConcurrentModificationException 
      at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:911) 
      at java.util.ArrayList$Itr.next(ArrayList.java:861) 
      at ch.qos.logback.classic.LoggerContext.cancelScheduledTasks(LoggerContext.java:232) 
      at ch.qos.logback.classic.LoggerContext.reset(LoggerContext.java:225) 
      at ch.qos.logback.classic.LoggerContext.stop(LoggerContext.java:348) 
      at ch.qos.logback.core.hook.ShutdownHookBase.stop(ShutdownHookBase.java:39)
      at ch.qos.logback.core.hook.DelayingShutdownHook.run(DelayingShutdownHook.java:57) 
      at java.lang.Thread.run(Thread.java:748)
      Process finished with exit code 1
      
      

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            dmitriusan Dmytro Lisnichenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: