| Anonymous | Login | Signup for a new account | 10-24-2025 17:09 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.1.1 | Product Version | 3.0.21 | ||||
| Product Build | |||||||||
| 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. | ||||||||
| Steps To Reproduce | |||||||||
| 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. |