java.lang.IllegalStateException: Cannot stop. Current container state was: CONSTRUCTED

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Shammi Kumar, 4 months ago
via Google Groups by Bangar Milind, 5 months ago
Cannot stop. Current container state was: CONSTRUCTED
via Stack Overflow by user6350750
, 1 year ago
Cannot stop. Current container state was: CONSTRUCTED
via GitHub by guwirth
, 1 year ago
Cannot stop. Current container state was: CONSTRUCTED
via GitHub by marschall
, 10 months ago
Cannot stop. Current container state was: CONSTRUCTED
via Stack Overflow by Meet101
, 5 months ago
Cannot stop. Current container state was: CONSTRUCTED
java.lang.IllegalStateException: Cannot stop. Current container state was: CONSTRUCTED
at org.picocontainer.lifecycle.DefaultLifecycleState.stopping(DefaultLifecycleState.java:72)
at org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:794)
at org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:799)
at org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:799)
at org.sonar.core.platform.ComponentContainer.stopComponents(ComponentContainer.java:173)
at org.sonar.core.platform.ComponentContainer.stopComponents(ComponentContainer.java:168)
at org.sonar.server.platform.platformlevel.PlatformLevel.stop(PlatformLevel.java:93)
at org.sonar.server.platform.Platform.stopLevel234Containers(Platform.java:240)
at org.sonar.server.platform.Platform.doStop(Platform.java:269)
at org.sonar.server.platform.PlatformServletContextListener.stopQuietly(PlatformServletContextListener.java:59)
at org.sonar.server.platform.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:52)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.