Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Scripting JSP 2.0.2
-
None
Description
For example for a JSP compile error the 'realException' is null and the following stack-frame resolution fails:
(JspServletWrapper.java, line 492ff)
// First identify the stack frame in the trace that represents the JSP
StackTraceElement[] frames = realException.getStackTrace();
StackTraceElement jspFrame = null;
for (int i=0; i<frames.length; ++i) {
if ( frames[i].getClassName().equals(this.getServlet().getClass().getName()) )
}
Suggest to check for (realException == null)