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 480

477: 				sameWeight2 = new String[numbLineMatrix];
478: 				sameMap = new String[numbLineMatrix];
479: 				for ( int i=0; i < product.getMatrixSize(); i++ ) {
480: 					Product matrixproduct4 = Product.getInstance(product.getMatrixItemNumber(i));
481: 					String productweight4 = matrixproduct4.getAttribute("weight","N").getValue();
482: 					String productMap = matrixproduct4.getAttribute("mapPrice","N").getValue();
483: 					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 401530RAN12G 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:3372)
	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