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

java.util.ConcurrentModificationException when running spring's initialization process parallelled

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • 1.2.0
    • 1.1.7
    • logback-core
    • None
    • ubuntu14.04
      spring-context 4.2.6
      spring-test 4.2.6
      logback-core1.1.7
      spring-boot-starter 1.3.5

    Description

      The Stacktrace
      java.lang.IllegalStateException: Logback configuration error detected:
       ERROR in ch.qos.logback.core.joran.spi.Interpreter@15:66 - RuntimeException in Action for tag [logger] java.util.ConcurrentModificationException
               at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151)
               at org.springframework.boot.logging.logback.LogbackLoggingSystem.reinitialize(LogbackLoggingSystem.java:195)
               at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:65)
               at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:50)
               at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:106)
               at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:277)
               at org.springframework.boot.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:255)
               at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:224)
               at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:200)
               at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
               at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
               at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
               at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111)
               at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65)
               at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
               at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330)
               at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
               at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
               at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:140)
               at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:84)
               at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:1)
               at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
               at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
               at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
               at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111)
               at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65)
               at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
               at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330)
               at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
               at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
               at org.springframework.cloud.config.server.environment.JGitEnvironmentRepositoryIntegrationTests.findOne_NestedSearchPath_FindOneSuccess(JGitEnvironmentRepositoryIntegrationTests.java:234)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:497)
               at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
               at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
               at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
               at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
               at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            dxt29 dxt29
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: