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 Stack Overflow by fxviking
, 1 year ago
Cannot add new shutdown h ook as this is not started. Current state: STOPPED
via hive-dev by Sergey Shelukhin (JIRA), 2 years ago
via Stack Overflow by Dennis Ich
, 2 years ago
Cannot add new shutdown hook as this is not started. Current state: STOPPED
via GitHub by peterdnight
, 2 years ago
Cannot add new shutdown hook as this is not started. Current state: STOPPED
via GitHub by lennartkoopmann
, 1 year ago
Cannot add new shutdown hook as this is not started. Current state: STOPPED
java.lang.IllegalStateException: Cannot add new shutdown hook as this is not started. Current state: STOPPED at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownCallback(DefaultShutdownCallbackRegistry.java:113) at org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:271) at org.apache.logging.log4j.core.LoggerContext.setUpShutdownHook(LoggerContext.java:256) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:216) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:146) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:185) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at com.worldline.frm.dataloader.policy.CustomQueueRoutePolicy.onStop(CustomQueueRoutePolicy.java:90) at org.apache.camel.impl.RouteService.doStop(RouteService.java:249)