You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've upgraded from jruby 1.7.16 to 1.7.17 today and ran into a NPE which seems to be regression in the latest release.
Example:
|jruby-1.7.17@debug_issue| thq-m-dkoeh01 in ~/workspace/debug_issue_with_jruby_1_7_17
± |master ✓| → rspec test.rb --debug
/Users/dkoehler/.rvm/gems/jruby-1.7.17@debug_issue/gems/simplecov-0.9.1/lib/simplecov.rb:31 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
/Users/dkoehler/.rvm/gems/jruby-1.7.17@debug_issue/gems/ruby-debug-base-0.10.4-java/lib/ruby-debug-base.rb:214 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
Ruby.java:3065:in `callEventHooks': java.lang.NullPointerException
from ASTInterpreter.java:239:in `callTraceFunction'
from NewlineNode.java:101:in `interpret'
from EnsureNode.java:98:in `interpret'
from ASTInterpreter.java:74:in `INTERPRET_METHOD'
from InterpretedMethod.java:268:in `call'
from DefaultMethod.java:235:in `call'
from CachingCallSite.java:366:in `cacheAndCall'
from CachingCallSite.java:238:in `call'
from FCallThreeArgNode.java:40:in `interpret'
from CallNoArgNode.java:60:in `interpret'
from DAsgnNode.java:110:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:206:in `evalBlockBody'
from Interpreted19Block.java:194:in `yield'
from Interpreted19Block.java:125:in `call'
from Block.java:101:in `call'
from RubyProc.java:290:in `call'
from RubyProc.java:228:in `call'
from Ruby.java:3157:in `tearDown'
from Ruby.java:3141:in `tearDown'
from Main.java:294:in `internalRun'
from Main.java:217:in `run'
from Main.java:197:in `main'
I've upgraded from jruby 1.7.16 to 1.7.17 today and ran into a NPE which seems to be regression in the latest release.
Example:
To reproduce this error, I've create a minimal project:https://github.com/phrinx/debug_issue_jruby_1_7_17.
It seems the culprit here is 'simplecov' commenting out the block at https://github.com/phrinx/debug_issue_jruby_1_7_17/blob/master/spec/spec_helper.rb#L3 does not reproduce the error.
The text was updated successfully, but these errors were encountered: