java.lang.IllegalStateException

Shutdown in progress


Solutions on the web5083

Solution icon of terracotta
via Terracotta by Bountico, 2 months ago
Shutdown in progress

Solution icon of github
via GitHub by ravieze
, 1 year ago
Shutdown in progress

Solution icon of github
via GitHub by schneidermatic
, 1 year ago
Shutdown in progress

Solution icon of github
via GitHub by zemudkram
, 1 year ago
Shutdown in progress

Solution icon of github
Shutdown in progress

Solution icon of github
Shutdown in progress

Solution icon of github
Shutdown in progress

Solution icon of github
Shutdown in progress

Solution icon of github
Shutdown in progress

Stack trace

  • java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39) at java.lang.Runtime.addShutdownHook(Runtime.java:192) at jline.UnixTerminal.initializeTerminal(UnixTerminal.java:97) at jline.Terminal.setupTerminal(Terminal.java:75) at jline.Terminal.getTerminal(Terminal.java:26) at jline.Terminal$getTerminal.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at org.codehaus.groovy.tools.shell.AnsiDetector.call(Main.groovy:211) at org.codehaus.groovy.tools.shell.AnsiDetector.call(Main.groovy) at org.fusesource.jansi.Ansi.isDetected(Ansi.java:155) at org.fusesource.jansi.Ansi$2.initialValue(Ansi.java:166) at org.fusesource.jansi.Ansi$2.initialValue(Ansi.java:163) at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141) at java.lang.ThreadLocal.get(ThreadLocal.java:131) at org.fusesource.jansi.Ansi.isEnabled(Ansi.java:175) at org.fusesource.jansi.Ansi.ansi(Ansi.java:179) at org.fusesource.jansi.AnsiRenderer.render(AnsiRenderer.java:103) at org.fusesource.jansi.AnsiRenderer.render(AnsiRenderer.java:92) at org.fusesource.jansi.AnsiRenderWriter.write(AnsiRenderWriter.java:56) at java.io.PrintWriter.print(PrintWriter.java:559) at java.io.PrintWriter.println(PrintWriter.java:695) at java_io_PrintWriter$println$0.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) at org.codehaus.groovy.tools.shell.Main$_main_closure2.doCall(Main.groovy:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at org.codehaus.groovy.tools.shell.Main$_main_closure2.doCall(Main.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at groovy.lang.Closure.call(Closure.java:282) at groovy.lang.Closure.call(Closure.java:277) at groovy.lang.Closure.run(Closure.java:360) at java.lang.Thread.run(Thread.java:662)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 month ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
5 times, 3 months ago
17 more bugmates