HTTP Status 500 – Internal Server Error


Type Exception Report

Message An exception occurred processing [commerce/telugushop/reorder/reOrderSearch.jsp] at line [5]

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: An exception occurred processing [commerce/telugushop/reorder/reOrderSearch.jsp] at line [5]

2: <html>
3: <head>
4: <title>Teluguone - Commerce - Re Order Search</title>                
5: <link href="/commerce/css/<%=com.teluguone.commerce.ToneShopUtil.getStyleSheet()%>.css" rel="stylesheet" type="text/css">
6: </head>
7: <body>
8: <!-- Start Alexa Certify Javascript -->


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:610)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:489)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
	jakarta.servlet.http.HttpServlet.service(HttpServlet.java:792)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

Root Cause

jakarta.servlet.ServletException: java.lang.Exception: Exception while OpeningConnection : 
java.lang.NullPointerException
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:667)
	org.apache.jsp.commerce.telugushop.reorder.reOrderSearch_jsp._jspService(reOrderSearch_jsp.java:268)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	jakarta.servlet.http.HttpServlet.service(HttpServlet.java:792)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
	jakarta.servlet.http.HttpServlet.service(HttpServlet.java:792)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

Root Cause

java.lang.Exception: Exception while OpeningConnection : 
java.lang.NullPointerException
	com.teluguone.commerce.ToneShopAdminUtil.connect(ToneShopAdminUtil.java:46)
	com.teluguone.commerce.ToneShopUtil.getStyleSheet(ToneShopUtil.java:5583)
	org.apache.jsp.commerce.telugushop.reorder.reOrderSearch_jsp._jspService(reOrderSearch_jsp.java:121)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	jakarta.servlet.http.HttpServlet.service(HttpServlet.java:792)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
	jakarta.servlet.http.HttpServlet.service(HttpServlet.java:792)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/10.0.27