HTTP Status 500 - javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException


type Exception report

message javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException

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

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:561)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:462)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:47)

root cause

javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
	org.apache.jsp.product.guo_002dshu_002dzhi_002dpin_jsp._jspService(guo_002dshu_002dzhi_002dpin_jsp.java:430)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:47)

root cause

java.lang.NullPointerException
	org.apache.jsp.tag.web.core.wcm_005fcms_005fproduct.产品列表_tag.doTag(产品列表_tag.java:115)
	org.apache.jsp.product.guo_002dshu_002dzhi_002dpin_jsp._jspService(guo_002dshu_002dzhi_002dpin_jsp.java:230)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:47)

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


Apache Tomcat/7.0.79