org.apache.jasper.JasperException: java.lang.NullPointerException

曾为有 发布于 2012/04/20 20:17
阅读 5K+
收藏 0
JSP

 The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.NullPointerException
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:500)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:428)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)

root cause

java.lang.NullPointerException
	org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1161)
	org.apache.struts.taglib.TagUtils.message(TagUtils.java:1024)
	org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:224)
	org.apache.jsp.reg_jsp._jspx_meth_bean_005fmessage_005f0(reg_jsp.java:289)
	org.apache.jsp.reg_jsp._jspService(reg_jsp.java:123)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.

加载中
0
狼狼A狗
狼狼A狗
很常见的一个空指针异常,不知道你贴上来什么意思?最起码贴个代码分析下吧!
0
曾为有
是我的自定义标签用错了,我打算重新使用struts2标签
肯特很忙
我遇到了和你相同的问题,不知道能不能详细的指点一下。
返回顶部
顶部