Errors on Grails Shutdown #21

Closed
JewelPengin opened this Issue Nov 13, 2012 · 1 comment

2 participants

@JewelPengin

When doing an exit from a run-app, I get this error every time. I'm using 1.0.7 currently.

Servlet CxfServlet threw unload() exception
Message: Servlet.destroy() for servlet CxfServlet threw exception
   Line | Method
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   138 | run      in java.util.concurrent.FutureTask
|   886 | runTask  in java.util.concurrent.ThreadPoolExecutor$Worker
|   908 | run      in     ''
^   680 | run . .  in java.lang.Thread

Caused by NullPointerException: null
->> 143 | destroy  in org.apache.cxf.transport.servlet.CXFNonSpringServlet
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   303 | innerRun in java.util.concurrent.FutureTask$Sync
|   138 | run . .  in java.util.concurrent.FutureTask
|   886 | runTask  in java.util.concurrent.ThreadPoolExecutor$Worker
|   908 | run . .  in     ''
^   680 | run      in java.lang.Thread
@ctoestreich

This is most likely related to your previous issue where your boot failed to instanciate the server. The shutdown hook will most likely fail in that case as well. I will leave this open inlieu of the other issue #22, but I think they are one in the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment