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_e.jsp:60

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


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_005fe_jsp._jspService(viewer_005fe_jsp.java:147)
	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