Anonymous | Login | Signup for a new account | 12-17-2024 10:56 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001361 | [Resin] | minor | always | 09-20-06 05:04 | 01-04-07 14:57 | ||||
Reporter | rydenius | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.21 | ||||||
Summary | 0001361: com.caucho.log.MessageFormatter hides important stack information | ||||||||
Description | com.caucho.log.MessageFormatter unwraps exceptions to the innermost cause and display only that in the log. That hides possibly important stack information from wrapping exceptions. I guess this is only a workaround for exceptions that overrides java.lang.Throwable's definition of printStackTrace(PrintStream), because that implementation automaticly prints all causes of the throwable too. Current implementation of MessageFormatter is useless for advanced debugging. | ||||||||
Additional Information |
According to the release notes, this bug was introduced in Resin 3.0.7, "MessageFormatter needs to unwrap exception (rep by Thomas Zehetbauer)". Source code is: Throwable rootExn = thrown; for (; rootExn != null && rootExn.getCause() != null; rootExn = rootExn.getCause()) { } rootExn.printStackTrace(os.getPrintWriter()); |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |