javax.servlet.ServletException: PWC1386: Servlet.destroy() for servlet WSServlet_MyService threw exception

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 Oracle Community by 392 Guest, 1 year ago
PWC1386: Servlet.destroy() for servlet WSServlet_MyService threw exception
via Icesoft by fahoo, 1 year ago
PWC1386: Servlet.destroy() for servlet Persistent Faces Servlet threw exception
via grokbase.com by Unknown author, 1 year ago
Servlet.destroy() for servlet AxisServlet threw exception
via Oracle Community by 843854, 1 year ago
Servlet.destroy() for servlet AxisServlet threw exception
via coderanch.com by Unknown author, 2 years ago
Servlet.destroy() for servlet action threw exception
via Coderanch by Sajan Patel, 1 year ago
Servlet.destroy() for servlet action threw exception
java.lang.NullPointerException:
at com.sun.xml.ws.transport.tcp.server.glassfish.AppServWSRegistry.getWebServiceEndpointPath(AppServWSRegistry.java:141)
at com.sun.xml.ws.transport.tcp.server.glassfish.AppServWSRegistry.deregisterEndpoint(AppServWSRegistry.java:129)
at com.sun.enterprise.webservice.monitoring.WebServiceEngineImpl.removeHandler(WebServiceEngineImpl.java:155)
at com.sun.enterprise.webservice.ServletWebServiceDelegate.destroy(ServletWebServiceDelegate.java:171)
at com.sun.enterprise.webservice.JAXRPCServlet.destroy(JAXRPCServlet.java:88)

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.