NPE in RubyRegexp.java with --1.9
---------------------------------

                 Key: JRUBY-3858
                 URL: http://jira.codehaus.org/browse/JRUBY-3858
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Ruby 1.9
    Affects Versions: JRuby 1.3.1
         Environment: trunk - ae08daf
            Reporter: Jari Bakken


$ bin/jruby --1.9 -e '/#{Regexp.union("foo", "bar")}/'
RubyRegexp.java:1583:in `to_s': java.lang.NullPointerException
        from org/jruby/RubyRegexp$i_method_0_0$RUBYINVOKER$to_s.gen:-1:in `call'
        from RubyClass.java:530:in `finvoke'
        from RuntimeHelpers.java:406:in `invoke'
        from RubyBasicObject.java:608:in `asString'
        from -e:1:in `__file__'
        from -e:-1:in `load'
        from Ruby.java:592:in `runScript'
        from Ruby.java:514:in `runNormally'
        from Ruby.java:360:in `runFromMain'
        from Main.java:272:in `run'
        from Main.java:117:in `run'
        from Main.java:97:in `main'


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