confusing error messages when exception thrown in native java thread
--------------------------------------------------------------------

                 Key: JRUBY-5101
                 URL: http://jira.codehaus.org/browse/JRUBY-5101
             Project: JRuby
          Issue Type: Improvement
            Reporter: Roger Pack
            Assignee: Thomas E Enebo


currently I get this for normal ruby backtraces:

test.rb:2:in `go': undefined method `/' for Thu Sep 23 17:34:50 -0600 2010:Time 
(NoMethodError)
        from test.rb:4

which is quite easy to read.

However, when jruby outputs the backtrace from an internal thread, the filename 
and linenumber are some harder to see.

Thanks!
-r


Exception in thread "AWT-EventQueue-0" jtest.rb:38:in `get_image': undefined 
method `/' for Thu Sep 23 17:32:17 -0600 2010:Time (NoMethodError)
        from jtest.rb:56:in `paint'
        from :1
        ...internal jruby stack elided...
        from M::ShowImage.get_image(jtest.rb:56)
        from M::ShowImage.paint(:1)
        from (unknown).(unknown)(:1)

-- 
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