Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vvs
Created April 6, 2010 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvs/357283 to your computer and use it in GitHub Desktop.
Save vvs/357283 to your computer and use it in GitHub Desktop.
jruby -S spec spec\ffi\async_callback_spec.rb
loadpath=D:/work/jruby-dev/repos/ffi.git/spec:D:/work/jruby-dev/jruby/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin:D:/work/jruby-dev/jruby/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib:D:/work/jruby-dev/jruby/lib/ruby/site_ruby/1.8:D:/work/jruby-dev/jruby/lib/ruby/site_ruby/shared:D:/work/jruby-dev/jruby/lib/ruby/1.8:.
./spec/ffi/async_callback_spec.rb:7 warning: already initialized constant AsyncIntCallback
Function.java:110:in `newInstance': java.lang.NullPointerException
from org/jruby/ext/ffi/jffi/Function$s_method_0_2$RUBYINVOKER$newInstance.gen:65535:in `call'
from DynamicMethod.java:160:in `call'
from CachingCallSite.java:279:in `cacheAndCall'
from CachingCallSite.java:68:in `call'
from CallManyArgsNode.java:59:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:196:in `evalClassDefinitionBody'
from ModuleNode.java:120:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:327:in `yield'
from InterpretedBlock.java:366:in `yield'
from Block.java:205:in `yieldNonArray'
from RubyObject.java:507:in `yieldUnder'
from RubyObject.java:331:in `specificEval'
from RubyModule.java:2067:in `module_eval'
from org/jruby/RubyModule$i_method_multi$RUBYFRAMEDINVOKER$module_eval.gen:65535:in `call'
from CachingCallSite.java:299:in `cacheAndCall'
from CachingCallSite.java:117:in `callBlock'
from CachingCallSite.java:122:in `call'
from CallNoArgBlockPassNode.java:53:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:242:in `call'
from DefaultMethod.java:196:in `call'
from CachingCallSite.java:195:in `callBlock'
from CachingCallSite.java:202:in `call'
from FCallSpecialArgBlockPassNode.java:40:in `interpret'
from NewlineNode.java:104:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:242:in `call'
from DefaultMethod.java:196:in `call'
from CachingCallSite.java:195:in `callBlock'
from CachingCallSite.java:202:in `call'
from CallSpecialArgBlockPassNode.java:66:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:242:in `call'
from DefaultMethod.java:196:in `call'
from CachingCallSite.java:195:in `callBlock'
from CachingCallSite.java:202:in `call'
from CallSpecialArgBlockPassNode.java:66:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:201:in `call'
from DefaultMethod.java:180:in `call'
from CachingCallSite.java:319:in `cacheAndCall'
from CachingCallSite.java:157:in `callBlock'
from CachingCallSite.java:172:in `callIter'
from FCallOneArgBlockNode.java:34:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from RootNode.java:129:in `interpret'
from Ruby.java:2487:in `loadFile'
from ExternalScript.java:61:in `load'
from LoadService.java:255:in `load'
from RubyKernel.java:1010:in `loadCommon'
from RubyKernel.java:992:in `load'
from org/jruby/RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load.gen:65535:in `call'
from DynamicMethod.java:190:in `call'
from DynamicMethod.java:186:in `call'
from CachingCallSite.java:146:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:346:in `yield'
from InterpretedBlock.java:303:in `yield'
from Block.java:194:in `yield'
from RubyArray.java:1630:in `eachCommon'
from RubyArray.java:1637:in `each'
from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in `call'
from CachingCallSite.java:115:in `callBlock'
from CachingCallSite.java:122:in `call'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:180:in `call'
from DefaultMethod.java:172:in `call'
from CachingCallSite.java:146:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from EnsureNode.java:96:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:139:in `call'
from DefaultMethod.java:156:in `call'
from CachingCallSite.java:289:in `cacheAndCall'
from CachingCallSite.java:108:in `call'
from CallNoArgNode.java:61:in `interpret'
from OrNode.java:97:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedMethod.java:139:in `call'
from DefaultMethod.java:156:in `call'
from CachingCallSite.java:289:in `cacheAndCall'
from CachingCallSite.java:108:in `call'
from VCallNode.java:85:in `interpret'
from FCallOneArgNode.java:36:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedBlock.java:373:in `evalBlockBody'
from InterpretedBlock.java:327:in `yield'
from BlockBody.java:78:in `call'
from Block.java:89:in `call'
from RubyProc.java:224:in `call'
from RubyProc.java:207:in `call'
from Ruby.java:2744:in `tearDown'
from Ruby.java:2731:in `tearDown'
from Main.java:288:in `run'
from Main.java:128:in `run'
from Main.java:97:in `main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment