java.lang.NullPointerException

strutstestcase | nobody | 1 decade ago
  1. 0

    verifyForward test not working

    strutstestcase | 1 decade ago | nobody
    java.lang.NullPointerException
  2. 0

    Getting servletcontext in a RemoteServiceServlet

    Google Groups | 9 years ago | Steven De Groote
    java.lang.NullPointerException
  3. 0

    Getting servletcontext in a RemoteServiceServlet

    Google Groups | 9 years ago | Steven De Groote
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2007-08-20 14:53:01,296: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/engineName/updatecontainer/op/edit/home/pid/55] user=[root] ip=[127.0.0.1] in [125ms] 2007-08-20 14:53:01,781: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/op/edit/lang/en/home/pid/55] user=[root] ip=[127.0.0.1] in [203ms] 2007-08-20 14:53:13,109: ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jahia].[JahiaAdministration]] - "Servlet.service()" pour la servlet JahiaAdministration a gΘnΘrΘ une exception java.lang.NullPointerException at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159) at org.jahia.bin.JahiaAdministration.service(JahiaAdministration.java:275) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619) 2007-08-20 14:53:25,171: ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jahia].[JahiaAdministration]] - "Servlet.service()" pour la servlet JahiaAdministration a gΘnΘrΘ une exception java.lang.NullPointerException at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159) at org.jahia.bin.JahiaAdministration.service(JahiaAdministration.java:275) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619) 2007-08-20 14:53:35,578: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/] user=[root] ip=[127.0.0.1] in [203ms] 2007-08-20 14:53:35,812: INFO [org.apache.slide.webdav.JahiaWebdavServlet] - Webdav request [GET /site/demo/shared/banner_home.gif] user=[root] 2007-08-20 14:53:35,828: INFO [org.apache.slide.webdav.JahiaWebdavServlet] - Processed [GET /site/demo/shared/banner_home.gif] in 16ms 2007-08-20 14:53:39,125: INFO [org.jahia.bin.Jahia] - Processed [/jahia/Jahia/op/edit/lang/fr/home] user=[root] ip=[127.0.0.1] in [485ms]

    JIRA | 9 years ago | Stephane Croisier
    java.lang.NullPointerException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at javax.servlet.GenericServlet.getServletContext()
    2. JavaServlet
      GenericServlet.getServletContext
      1. javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
      1 frame
    3. servletunit.struts
      CactusStrutsTestCase.verifyForward
      1. servletunit.struts.CactusStrutsTestCase.getActualForward(CactusStrutsTestCase.java:559)
      2. servletunit.struts.CactusStrutsTestCase.verifyForward(CactusStrutsTestCase.java:598)
      2 frames