DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38897>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38897 ------- Additional Comments From [EMAIL PROTECTED] 2007-08-06 15:14 ------- I had a very similar problem in Tomcat 6.0.13 that was caused by a missing tld file in my deployment. The stacktrace was the same as in the first comment and did not indicate which tag library caused the problem. I used the following patch to track down the problem and log the cause of the exception: Index: java/org/apache/jasper/compiler/JspDocumentParser.java =================================================================== --- java/org/apache/jasper/compiler/JspDocumentParser.java (revision 563257) +++ java/org/apache/jasper/compiler/JspDocumentParser.java (working copy) @@ -214,7 +214,8 @@ jspDocParser.err.jspError (new Mark(jspDocParser.ctxt, path, e.getLineNumber(), e.getColumnNumber()), - e.getMessage()); + e.getMessage(), + e); } catch (Exception e) { jspDocParser.err.jspError(e); } Index: java/org/apache/jasper/compiler/ErrorDispatcher.java =================================================================== --- java/org/apache/jasper/compiler/ErrorDispatcher.java (revision 563257) +++ java/org/apache/jasper/compiler/ErrorDispatcher.java (working copy) @@ -225,6 +225,22 @@ * resource bundle for localized error messages, it is used as the error * message. * + * @param where Error location + * @param errCode Error code + * @param exception Exception + */ + + public void jspError(Mark where, String errCode, Exception exception) + throws JasperException { + dispatch(where, errCode, null, exception); + } + /* + * Dispatches the given JSP parse error to the configured error handler. + * + * The given error code is localized. If it is not found in the + * resource bundle for localized error messages, it is used as the error + * message. + * * @param n Node that caused the error * @param errCode Error code * @param arg1 First argument for parametric replacement -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]