You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/02/24 18:12:33 UTC

DO NOT REPLY [Bug 48810] New: error handler chain doesn't show errors on tag files compilation

https://issues.apache.org/bugzilla/show_bug.cgi?id=48810

           Summary: error handler chain doesn't show errors on tag files
                    compilation
           Product: Tomcat 6
           Version: 6.0.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: manuel.molaschi@gmail.com


Created an attachment (id=25052)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25052)
patch on JspDocumentParser and ErrorDispatcher to print the stacktrace of
underlying tag-files compilation errors

When i have errors in my .tag files (in classpath), the log just gives me a
generic: 
/pages/xxxx.jsp "Could not add one or more tag libraries"

This error does not help discovering the underlying problem.

I've patched (see the attachment) JspDocumentParser and ErrorDispatcher to
print the stacktrace of underlying compilation errors.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48810] error handler chain doesn't show errors on tag files compilation

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48810

Fabrizio Giustina <fg...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fgiust@apache.org

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48810] error handler chain doesn't show errors on tag files compilation

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48810

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-03-28 20:16:33 UTC ---
This works for me with the latest trunk and 6.0.x. I don't see any relevant
changes so I wonder if you have hit a different code path to the one my test
case is using.

If you still see this error with the latest 6.0.x release (6.0.26 at the time
of writing this comment) please re-open this bug report and attach the source
for the simplest tag file and JSP that demonstrates the issue. Please also
include any relevant information regarding the steps to reproduce.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org