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: An exception occurred processing JSP page /include/layout/productpricedetail.inc at line 485

482: 				sameWeight2 = new String[numbLineMatrix];
483: 				sameMap = new String[numbLineMatrix];
484: 				for ( int i=0; i < product.getMatrixSize(); i++ ) {
485: 					Product matrixproduct4 = Product.getInstance(product.getMatrixItemNumber(i));
486: 					String productweight4 = matrixproduct4.getAttribute("weight","N").getValue();
487: 					String productMap = matrixproduct4.getAttribute("mapPrice","N").getValue();
488: 					sameWeight2[i] = productweight4;


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
	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)

root cause

java.lang.IllegalArgumentException: Product Number 756861AHC014 not found
	synaro.webstore.Product.getIdFromProductNumber(Product.java:390)
	synaro.webstore.Product.getInstance(Product.java:223)
	org.apache.jsp.product_jsp._jspService(product_jsp.java:3284)
	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:377)
	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)

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


Apache Tomcat/6.0.24