CINXE.COM

HTTP Status 500 – Internal Server Error

<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> Exception Report</p><p><b>Message</b> An exception occurred processing [&#47;guide&#47;info.jsp] at line [26]</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>org.apache.jasper.JasperException: An exception occurred processing [&#47;guide&#47;info.jsp] at line [26] 23: if(smallId&lt;=0) response.sendRedirect(basePath+&quot;index.jsp&quot;); 24: SmallClass smallClass = SmallClassDao.getModel(smallId); 25: if(smallClass==null) response.sendRedirect(basePath+&quot;index.jsp&quot;); 26: int bigId = smallClass.getBigId(); 27: BigClass bigClass = BigClassDao.getModel(bigId); 28: %&gt; 29: Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:605) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:498) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331) javax.servlet.http.HttpServlet.service(HttpServlet.java:583) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) com.foundry.filter.EncodingFilter.doFilter(EncodingFilter.java:30) </pre><p><b>Root Cause</b></p><pre>java.lang.NullPointerException org.apache.jsp.guide.info_jsp._jspService(info_jsp.java:148) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:583) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331) javax.servlet.http.HttpServlet.service(HttpServlet.java:583) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) com.foundry.filter.EncodingFilter.doFilter(EncodingFilter.java:30) </pre><p><b>Note</b> The full stack trace of the root cause is available in the server logs.</p><hr class="line" /><h3>Apache Tomcat/8.5.95</h3></body></html>