Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
When a Ruby Exception is wrapped within a RuntimeException and is being printed by the default root exception handler, the stacktrace elements from the ruby exception is missing.
See the example: git://github.com/retoo/wrapped_stacktrace.git
Interestingly log4j.log("msg", exception) prints out the full stacktrace.
Thanks!
Reto Schüttel
I'm a little confused by this one.
I see that your test code eventually rethrows a RuntimeException wrapping the Ruby exception, but in my output the last dump of stack traces does include the cause and does show the Ruby trace.
Perhaps you can show me your output annotated with information about what you'd expect to see? Or perhaps write this in the form of a test case that fails?