rcov feils with NullPointerException with JRuby 1.4.0RC1.  Has worked with all 
JRuby versions since 2008.
---------------------------------------------------------------------------------------------------------

                 Key: JRUBY-4078
                 URL: http://jira.codehaus.org/browse/JRUBY-4078
             Project: JRuby
          Issue Type: Bug
          Components: Application Error
    Affects Versions: JRuby 1.4.0RC1
         Environment: MacOSX 10.6.1, Sun Java 1.6.0_15, JRuby 1.4.0RC1, 
spicycode-rcov 0.8.1.5.2 or relevance-rcov-0.9.3
            Reporter: Uwe Kubosch


Running our tests with rcov gives the following stack trace.  Has worked for 
all versions of JRuby since we started using it in 2008:

RubyHash.java:1651:in `get': java.lang.NullPointerException
        from CoverageHook.java:53:in `eventHandler'
        from EventHook.java:30:in `event'
        from Ruby.java:2540:in `callEventHooks'
        from ASTInterpreter.java:165:in `callTraceFunction'
        from NewlineNode.java:100:in `interpret'
        from InterpretedMethod.java:136:in `call'
        from DefaultMethod.java:153:in `call'
        from CachingCallSite.java:290:in `cacheAndCall'
        from CachingCallSite.java:109:in `call'
        from CallNoArgNode.java:61:in `interpret'
        from NewlineNode.java:104:in `interpret'
        from BlockNode.java:71:in `interpret'
        from InterpretedBlock.java:317:in `evalBlockBody'
        from InterpretedBlock.java:305:in `yield'
        from BlockBody.java:72:in `call'
        from BlockBody.java:78:in `call'
        from Block.java:89:in `call'
        from RubyProc.java:221:in `call'
        from RubyProc.java:204:in `call'
        from Ruby.java:2623:in `tearDown'
        from Main.java:274:in `run'
        from Main.java:117:in `run'
        from Main.java:97:in `main'
rcov exited code: 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