Apache Tomcat/5.5.29 - Error report

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: /collections/artwork/viewer_f.jsp:59

56: 
57: 	stmtArtwork.close();
58: 
59: 	String mediaId = mediatype.substring(mediatype.length() - 1);
60: 
61: %>
62: 


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(Unknown Source)
	org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
	org.apache.jasper.servlet.JspServlet.service(Unknown Source)
	javax.servlet.http.HttpServlet.service(Unknown Source)

root cause

java.lang.NullPointerException
	org.apache.jsp.collections.artwork.viewer_005ff_jsp._jspService(viewer_005ff_jsp.java:146)
	org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
	javax.servlet.http.HttpServlet.service(Unknown Source)
	org.apache.jasper.servlet.JspServletWrapper.service(Unknown Source)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
	org.apache.jasper.servlet.JspServlet.service(Unknown Source)
	javax.servlet.http.HttpServlet.service(Unknown Source)

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


Apache Tomcat/5.5.29