1 Reply Latest reply on Aug 12, 2011 2:41 PM by Mark Paluch

    Servlet.service() error on JBoss SA 6

    Raul Valentini Newbie

      Hi guys,

      I'm in trouble with a web application on JBoss AS 6.

      Frequently in my log file appears the following error:

       

       

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] (http-0.0.0.0-80-9) Servlet.service() for servlet jsp threw exception: java.lang.NullPointerException

              at org.apache.jsp.index_jsp._jspService(index_jsp.java:53)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [:6.0.0.Final]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [:6.0.0.Final]

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.0.0.Final]

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.0.0.Final]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115) [:]

              ............................................................................................

       

      Web app seems to work fine, but i would resolve this error.

       

      I'm using JSF 2.0 and Pretty Faces.

      I attached web.xml too, hoping it will be useful to anyone.