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/productupsell.inc at line 40

37: 	/* beginning of cross-sell products loop */
38: 	while ( parts.hasNext()) {
39: 		Long productId = (Long)parts.next();
40: 		WSProduct element = new WSProduct(productId.intValue());
41: 		productCounter++; %>
42: 		<% if ((prodCounter == 0) && (mySkipHeader == 0)){ %>
43: 			<% mySkipHeader++; %>


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

javax.servlet.ServletException: synaro.webstore.PersistentException: Cannot assign requested address (Address not available)
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
	org.apache.jsp.product_jsp._jspService(product_jsp.java:7555)
	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)

root cause

synaro.webstore.PersistentException: Cannot assign requested address (Address not available)
	synaro.webstore.Product.loadCoreAttributes(Product.java:1642)
	synaro.webstore.Product.read(Product.java:1579)
	synaro.webstore.Product.<init>(Product.java:428)
	synaro.webstore.Product.getInstance(Product.java:189)
	synaro.webstore.beans.WSProduct.<init>(WSProduct.java:85)
	org.apache.jsp.product_jsp._jspService(product_jsp.java:6999)
	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