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

Logback throws ConcurrentModificationException at cancelScheduledTasks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.3.0-alpha11
    • Component/s: logback-classic
    • Labels:
      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

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

              Dates

              Created:
              Updated: