Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
When an error occurs during startup an exception will be printed out multiple times. Each exception displayed will also include nested exception - where usually you do not want to see any exception except those caused inside the application. Instead you can see systen oriented Deployment/Installation/Startup exceptions.
This probalem is compounded on jdk1.4 which has the feature that printStackTrace already prints the nested exception. So each printStackTrace on JDK1.4 will print 2n! traces rather than 2n.
We should cleanup some of the exception stack traces
Added a method to Salts ExceptionUtil to pretty print an exception.
We will now only print one stack trace (the root cause) and only up until the container code. However the messages from each successive exception will also be displayed.