java.lang.IllegalStateException: Shutdown in progress

GitHub | zsoltm | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 111#240088205

    GitHub | 8 months ago | zsoltm
    java.lang.IllegalStateException: Shutdown in progress
  2. 0

    GitHub comment 111#218170377

    GitHub | 11 months ago | sslavic
    java.lang.IllegalStateException: Shutdown in progress
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Shutdown in progress

    at java.lang.ApplicationShutdownHooks.remove()
  2. Java RT
    Runtime.removeShutdownHook
    1. java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82)[na:1.8.0_91]
    2. java.lang.Runtime.removeShutdownHook(Runtime.java:239)[na:1.8.0_91]
    2 frames
  3. netflix-commons-util
    ShutdownEnabledTimer.cancel
    1. com.netflix.util.concurrent.ShutdownEnabledTimer.cancel(ShutdownEnabledTimer.java:70)[netflix-commons-util-0.1.1.jar:na]
    1 frame
  4. com.netflix.loadbalancer
    DynamicServerListLoadBalancer.shutdown
    1. com.netflix.loadbalancer.BaseLoadBalancer.cancelPingTask(BaseLoadBalancer.java:614)[ribbon-loadbalancer-2.2.0.jar:2.2.0]
    2. com.netflix.loadbalancer.BaseLoadBalancer.shutdown(BaseLoadBalancer.java:886)[ribbon-loadbalancer-2.2.0.jar:2.2.0]
    3. com.netflix.loadbalancer.DynamicServerListLoadBalancer.shutdown(DynamicServerListLoadBalancer.java:274)[ribbon-loadbalancer-2.2.0.jar:2.2.0]
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
    4 frames
  6. Spring Beans
    DefaultListableBeanFactory.destroySingletons
    1. org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:364)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    2. org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:287)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    4. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    5. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:975)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:982)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    7 frames
  7. Spring Context
    AbstractApplicationContext.close
    1. org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1028)[spring-context-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1004)[spring-context-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:956)[spring-context-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    3 frames
  8. org.springframework.cloud
    NamedContextFactory.destroy
    1. org.springframework.cloud.context.named.NamedContextFactory.destroy(NamedContextFactory.java:70)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE]
    1 frame
  9. Spring Beans
    DefaultListableBeanFactory.destroySingletons
    1. org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:272)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    2. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    4. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:975)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:982)[spring-beans-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    6 frames
  10. Spring Context
    AbstractApplicationContext$2.run
    1. org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1028)[spring-context-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1004)[spring-context-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext$2.run(AbstractApplicationContext.java:923)[spring-context-4.3.1.RELEASE.jar:4.3.1.RELEASE]
    3 frames