Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.2
-
Fix Version/s: JRuby 1.6.7
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:mac osx, jruby 1.6.2
-
Number of attachments :
Description
on line# 106 in soap/mapping/mapping.rb, it assks e.backtrace and assuming it is never be nil, which is not the case. I tried to do the following in my code:
was:
raise message
now
error = RuntimeError.new message
error.set_backtrace([])
raise error
The e.backtrace still returns nil
Hi again, Yi
I assigned it to me since I'm the author of soap4r.
If I understand correctly, soap module gets an Exception(e) where e.backtrace == nil in your app on JRuby, and it never occurred in CRuby, right?
Can you create a reproducible example? If it's difficult, would you please show us an inspected result of the exception, by adding 'p e.inspect' in soap/mapping/mapping.rb?