HTTP Status 500 -


type Exception report

message

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

exception

org.apache.jasper.JasperException: Exception in JSP: /music/model/bbs_Top0.jsp:21

18: 	String puburl = "";
19: 	int i = 1;
20: 	Iterator rs = null;
21: 		rs = gl.getBbsToWeek().iterator();
22: 		while(rs.hasNext()){
23: 		       	Map row = (Map)rs.next();
24: 		       	checkcount = String.valueOf(row.get("checkcount"));


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

root cause

java.lang.NullPointerException
	com.simiao.html.Getlist.getIDlist(Getlist.java:102)
	com.simiao.html.Getlist.getBbsToB(Getlist.java:174)
	com.simiao.html.Getlist.getBbsToWeek(Getlist.java:222)
	org.apache.jsp.music.model.bbs_005fTop0_jsp._jspService(bbs_005fTop0_jsp.java:65)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

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


Apache Tomcat/5.5.28