Skip to content

Instantly share code, notes, and snippets.

@martinisoft
Created January 4, 2013 22:26
Show Gist options
  • Save martinisoft/4457973 to your computer and use it in GitHub Desktop.
Save martinisoft/4457973 to your computer and use it in GitHub Desktop.
Stack trace when running Cucumber against jRuby 1.7.2
$ rake
Parser.java:184:in `<init>': java.lang.NullPointerException: uri
from Parser.java:69:in `pushMachine'
from Parser.java:56:in `parse'
from NativeMethodAccessorImpl.java:-2:in `invoke0'
from NativeMethodAccessorImpl.java:39:in `invoke'
from DelegatingMethodAccessorImpl.java:25:in `invoke'
from Method.java:597:in `invoke'
from JavaMethod.java:485:in `invokeDirectWithExceptionHandling'
from JavaMethod.java:340:in `invokeDirect'
from InstanceMethodInvoker.java:82:in `call'
from CachingCallSite.java:366:in `cacheAndCall'
from CachingCallSite.java:238:in `call'
from CallThreeArgNode.java:61:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:209:in `evalBlockBody'
from Interpreted19Block.java:160:in `yield'
from Block.java:130:in `yield'
from RubyKernel.java:1754:in `tap'
from RubyKernel$INVOKER$s$0$0$tap.gen:-1:in `call'
from CachingCallSite.java:316:in `cacheAndCall'
from CachingCallSite.java:145:in `callBlock'
from CachingCallSite.java:154:in `callIter'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:182:in `call'
from DefaultMethod.java:188:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from CallOneArgNode.java:57:in `interpret'
from CallNoArgNode.java:64:in `interpret'
from CallNoArgBlockNode.java:60:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:182:in `call'
from DefaultMethod.java:188:in `call'
from CachingCallSite.java:326:in `cacheAndCall'
from CachingCallSite.java:170:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:116:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:182:in `call'
from DefaultMethod.java:188:in `call'
from CachingCallSite.java:168:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:209:in `evalBlockBody'
from Interpreted19Block.java:160:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:2348:in `collect'
from RubyArray.java:2361:in `map19'
from RubyArray$INVOKER$i$0$0$map19.gen:-1:in `call'
from CachingCallSite.java:316:in `cacheAndCall'
from CachingCallSite.java:145:in `callBlock'
from CachingCallSite.java:154:in `callIter'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:139:in `call'
from DefaultMethod.java:172:in `call'
from CachingCallSite.java:306:in `cacheAndCall'
from CachingCallSite.java:136:in `call'
from CallNoArgNode.java:64:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:225:in `call'
from DefaultMethod.java:204:in `call'
from CachingCallSite.java:346:in `cacheAndCall'
from CachingCallSite.java:204:in `call'
from CallTwoArgNode.java:59:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:268:in `call'
from DefaultMethod.java:220:in `call'
from CachingCallSite.java:366:in `cacheAndCall'
from CachingCallSite.java:238:in `call'
from FCallThreeArgNode.java:40:in `interpret'
from NewlineNode.java:105:in `interpret'
from IfNode.java:118:in `interpret'
from NewlineNode.java:105:in `interpret'
from BlockNode.java:71:in `interpret'
from EnsureNode.java:96:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:268:in `call'
from DefaultMethod.java:220:in `call'
from CachingCallSite.java:366:in `cacheAndCall'
from CachingCallSite.java:238:in `call'
from FCallThreeArgNode.java:40:in `interpret'
from CallNoArgNode.java:64:in `interpret'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:105:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:209:in `evalBlockBody'
from Interpreted19Block.java:197:in `yield'
from Interpreted19Block.java:128:in `call'
from Block.java:89:in `call'
from RubyProc.java:261:in `call'
from RubyProc.java:213:in `call'
from Ruby.java:2926:in `tearDown'
from Ruby.java:2910:in `tearDown'
from Main.java:282:in `internalRun'
from Main.java:221:in `run'
from Main.java:201:in `main'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment