users@glassfish.java.net

Re: isErrorPage="true" causes nullpointer exception in JSP

From: <glassfish_at_javadesktop.org>
Date: Wed, 26 Aug 2009 20:33:17 PDT

And some stack trace from the logs...

[#|2009-08-27T11:27:57.236+1000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=586
2f035-57e3-47a7-8619-5c5e58b60bbf;|ApplicationDispatcher[/Myapp] PWC1231: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
        at org.apache.jsp.WEB_002dINF.pages.content.inc_005fmypage_jsp._jspService(inc_005fmypage_jsp.java from :28)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:578)


[#|2009-08-27T11:27:57.236+1000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=58
2f035-57e3-47a7-8619-5c5e58b60bbf;|ApplicationDispatcher[/Myapp] PWC1231: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: ServletException in '/WEB-INF/pages/content/inc_mypage.jsp': null
        at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923)
        at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
        at org.apache.jsp.WEB_002dINF.pages.template_jsp._jspx_meth_tiles_insert_2(template_jsp.java from :308)
        at org.apache.jsp.WEB_002dINF.pages.template_jsp._jspService(template_jsp.java from :176)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
[Message sent by forum member 'mj3' (michael.jordan_at_unico.com.au)]

http://forums.java.net/jive/thread.jspa?messageID=362087