JFFI fails to load for specs on Windows
---------------------------------------
Key: JRUBY-3352
URL: http://jira.codehaus.org/browse/JRUBY-3352
Project: JRuby
Issue Type: Bug
Components: Extensions
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.2
I'm not sure what's actually going on here:
{noformat}
[java] Platform.java:145:in `getPlatform': java.lang.NoClassDefFoundError:
Could not initialize class com.kenai.jffi.Platform
$SingletonHolder
[java] from Factory.java:100:in `wrapDirectMemory'
[java] from ArrayMemoryIO.java:72:in `getMemoryIO'
[java] from Buffer.java:140:in `getPointer'
[java] from AbstractMemory.java:750:in `get_pointer'
[java] from
org/jruby/ext/ffi/AbstractMemory$i_method_1_0$RUBYINVOKER$get_pointer.gen:-1:in
`call'
[java] from CachingCallSite.java:110:in `call'
[java] from CallOneArgNode.java:57:in `interpret'
[java] from DAsgnNode.java:110:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from InterpretedBlock.java:218:in `evalBlockBody'
[java] from InterpretedBlock.java:206:in `yield'
[java] from Block.java:105:in `yield'
[java] from RubyObject.java:491:in `yieldUnder'
[java] from RubyObject.java:313:in `specificEval'
[java] from RubyObject.java:1205:in `instance_eval'
[java] from
org/jruby/RubyObject$i_method_multi$RUBYFRAMEDINVOKER$instance_eval.gen:-1:in
`call'
[java] from CachingCallSite.java:263:in `cacheAndCall'
[java] from CachingCallSite.java:81:in `callBlock'
[java] from CachingCallSite.java:86:in `call'
[java] from example_methods.rb:114:in `__file__'
[java] from JittedMethod.java:111:in `call'
[java] from DefaultMethod.java:129:in `call'
[java] from CachingCallSite.java:253:in `cacheAndCall'
[java] from CachingCallSite.java:72:in `call'
[java] from example_methods.rb:52:in `rescue_1$RUBY$__rescue___0'
[java] from example_methods.rb:50:in `block_0$RUBY$__block__'
[java] from null:-1:in `call'
[java] from CompiledBlock.java:117:in `yield'
[java] from CompiledBlock.java:93:in `yieldSpecific'
[java] from Block.java:84:in `yieldSpecific'
[java] from timeout.rb:53:in `__file__'
[java] from AbstractScript.java:41:in `__file__'
[java] from JittedMethod.java:162:in `call'
[java] from DefaultMethod.java:156:in `call'
[java] from WrapperMethod.java:78:in `call'
[java] from CachingCallSite.java:119:in `callBlock'
[java] from CachingCallSite.java:136:in `callIter'
[java] from example_methods.rb:49:in `__file__'
[java] from JittedMethod.java:179:in `call'
[java] from DefaultMethod.java:165:in `call'
[java] from CachingCallSite.java:293:in `cacheAndCall'
[java] from CachingCallSite.java:152:in `call'
[java] from CallTwoArgNode.java:59:in `interpret'
[java] from CallOneArgNode.java:57:in `interpret'
[java] from LocalAsgnNode.java:123:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from InterpretedBlock.java:218:in `evalBlockBody'
[java] from InterpretedBlock.java:169:in `yield'
[java] from Block.java:100:in `yield'
[java] from RubyArray.java:1565:in `each'
[java] from
org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:-1:in `call'
[java] from CachingCallSite.java:79:in `callBlock'
[java] from CachingCallSite.java:86:in `call'
[java] from CallNoArgBlockNode.java:64:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from InterpretedMethod.java:101:in `call'
[java] from InterpretedMethod.java:113:in `call'
[java] from DefaultMethod.java:117:in `call'
[java] from CachingCallSite.java:243:in `cacheAndCall'
[java] from CachingCallSite.java:32:in `call'
[java] from FCallManyArgsNode.java:60:in `interpret'
[java] from ToAryNode.java:69:in `interpret'
[java] from MultipleAsgnNode.java:116:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from InterpretedMethod.java:163:in `call'
[java] from DefaultMethod.java:144:in `call'
[java] from CachingCallSite.java:273:in `cacheAndCall'
[java] from CachingCallSite.java:112:in `call'
[java] from CallOneArgNode.java:57:in `interpret'
[java] from CallOneArgNode.java:57:in `interpret'
[java] from LocalAsgnNode.java:123:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from InterpretedBlock.java:218:in `evalBlockBody'
[java] from InterpretedBlock.java:169:in `yield'
[java] from Block.java:100:in `yield'
[java] from RubyArray.java:1565:in `each'
[java] from
org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:-1:in `call'
[java] from CachingCallSite.java:263:in `cacheAndCall'
[java] from CachingCallSite.java:81:in `callBlock'
[java] from CachingCallSite.java:86:in `call'
[java] from CallNoArgBlockNode.java:64:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from EnsureNode.java:96:in `interpret'
[java] from InterpretedMethod.java:125:in `call'
[java] from DefaultMethod.java:126:in `call'
[java] from CachingCallSite.java:253:in `cacheAndCall'
[java] from CachingCallSite.java:72:in `call'
[java] from CallNoArgNode.java:61:in `interpret'
[java] from LocalAsgnNode.java:123:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from IfNode.java:114:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from EnsureNode.java:96:in `interpret'
[java] from BeginNode.java:83:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from InterpretedMethod.java:125:in `call'
[java] from DefaultMethod.java:126:in `call'
[java] from CachingCallSite.java:253:in `cacheAndCall'
[java] from CachingCallSite.java:72:in `call'
[java] from CallNoArgNode.java:61:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from InterpretedMethod.java:125:in `call'
[java] from DefaultMethod.java:126:in `call'
[java] from CachingCallSite.java:253:in `cacheAndCall'
[java] from CachingCallSite.java:72:in `call'
[java] from VCallNode.java:85:in `interpret'
[java] from DAsgnNode.java:110:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from BlockNode.java:71:in `interpret'
[java] from IfNode.java:114:in `interpret'
[java] from NewlineNode.java:104:in `interpret'
[java] from InterpretedBlock.java:218:in `evalBlockBody'
[java] from InterpretedBlock.java:206:in `yield'
[java] from BlockBody.java:65:in `call'
[java] from BlockBody.java:71:in `call'
[java] from Block.java:80:in `call'
[java] from RubyProc.java:204:in `call'
[java] from RubyProc.java:187:in `call'
[java] from Ruby.java:2435:in `tearDown'
[java] from Main.java:216:in `run'
[java] from Main.java:100:in `run'
[java] from Main.java:84:in `main'
[java] rake aborted!
[java] Command C:/projects/jruby/bin/jruby.bat
-I"C:/projects/jruby/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib" "C:/projects/jr
uby/lib/ruby/gems/1.8/gems/rspec-1.1.12/bin/spec" "spec/ffi/buffer_spec.rb"
"spec/ffi/callback_spec.rb" "spec/ffi/memorypointer_sp
ec.rb" "spec/ffi/struct_spec.rb" failed
{noformat}
--
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