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:549)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	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.news.qi_002dye_002dxin_002dwen_002dlist_jsp._jspService(qi_002dye_002dxin_002dwen_002dlist_jsp.java:268)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	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.webcore.wcm_005fcms_005fnews.新聞列表_tag.doTag(新聞列表_tag.java:103)
	org.apache.jsp.news.qi_002dye_002dxin_002dwen_002dlist_jsp._jspService(qi_002dye_002dxin_002dwen_002dlist_jsp.java:191)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	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.53 logs.


Apache Tomcat/7.0.53