soap library doesn't handle the situation where the backtrace is nil
--------------------------------------------------------------------

                 Key: JRUBY-5836
                 URL: http://jira.codehaus.org/browse/JRUBY-5836
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.6.2
         Environment: mac osx, jruby 1.6.2
            Reporter: Yi Wen


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to