盛龙彩乐园

ʢ԰ HTTP Status 500 - An exception occurred processing JSP page /newsview.jsp at line 25


type Exception report

message An exception occurred processing JSP page /newsview.jsp at line 25

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

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /newsview.jsp at line 25

22: java.util.Hashtable hash = db.getValue(sql); 
23: String  TITLE = (String)hash.get("TITLE");
24: String  INTIME = (String)hash.get("INTIME");
25:        INTIME = INTIME.substring(0,INTIME.indexOf(" ")); 
26: String  CONTENT = (String)hash.get("CONTENT");
27: hash = null;
28: %>


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
	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:723)
	filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)

root cause

java.lang.NullPointerException
	org.apache.jsp.newsview_jsp._jspService(newsview_jsp.java:115)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	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:723)
	filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)

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


Apache Tomcat/6.0.45