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

Coderanch | Mohini Dhanaskar | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Servlet throws Unload Exception

    Coderanch | 5 years ago | Mohini Dhanaskar
    javax.servlet.ServletException: Servlet.destroy() for servlet EmailFormatServlet threw exception

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at EmailFormatServlet.destroy()
    2. Unknown
      EmailFormatServlet.destroy
      1. EmailFormatServlet.destroy(EmailFormatServlet.java:27)
      1 frame
    3. Glassfish Core
      StandardContext.reload
      1. org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1394)
      2. org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1739)
      3. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4601)
      4. org.apache.catalina.core.StandardContext.reload(StandardContext.java:3222)
      4 frames
    4. org.apache.catalina
      ManagerServlet.doGet
      1. org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:943)
      2. org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:361)
      2 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    6. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    7. org.netbeans.modules
      MonitorFilter.doFilter
      1. org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:199)
      1 frame
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      9 frames
    9. Grizzly HTTP
      AprEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
      2. org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
      3. org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame