git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@890265
13f79535-47bb-0310-9956-
ffa450edef68
}
}
- if (jspFrame == null) {
+
+ if (jspFrame == null ||
+ this.ctxt.getCompiler().getPageNodes() == null) {
// If we couldn't find a frame in the stack trace corresponding
- // to the generated servlet class, we can't really add anything
+ // to the generated servlet class or we don't have a copy of the
+ // parsed JSP to hand, we can't really add anything
return new JasperException(ex);
}
else {