You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by Tal Rotbart <re...@gmail.com> on 2008/10/01 03:37:02 UTC

Exception when loading buildr with jruby 1.1.4 and java 1.6 on Mac OS X 1.5.5

Hi all,

I'm getting the following exception when running buildr with jruby
1.1.4 and Java 1.6 on Mac OS X 1.5.5. Any clue would be greatly
appreciated.

Cheers,
Tal

/System/Library/Frameworks/JavaVM.framework/Versions>java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
/System/Library/Frameworks/JavaVM.framework/Versions>cd ~/Dev/Workspace/Project1
~/Dev/Workspace/Project1>buildr
(in /Users/redbeard/Dev/Workspace/Project1, development)
Java home is: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
java.lang.reflect.Array:-2:in `set':
java.lang.IllegalArgumentException: array element type mismatch
	from org.jruby.javasupport.JavaArray:121:in `setWithExceptionHandling'
	from org.jruby.java.addons.ArrayJavaAddons:108:in `copyDataToJavaArray'
	from org.jruby.javasupport.JavaClass:1511:in `javaArrayFromRubyArray'
	from org.jruby.java.addons.ArrayJavaAddons:80:in `to_java'
	from org.jruby.java.addons.ArrayJavaAddons$s_method_multi$RUBYFRAMEDINVOKER$to_java:-1:in
`call'
		from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
	from org.jruby.ast.CallOneArgNode:57:in `interpret'
	from org.jruby.ast.CallTwoArgNode:59:in `interpret'
	from org.jruby.ast.LocalAsgnNode:115:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
	from org.jruby.ast.CallNoArgNode:61:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:190:in `yield'
	from org.jruby.runtime.BlockBody:64:in `call'
	from org.jruby.runtime.Block:101:in `call'
	from org.jruby.RubyProc:200:in `call'
	from org.jruby.internal.runtime.methods.ProcMethod:64:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
	from org.jruby.RubyMethod:110:in `call'
	from org.jruby.RubyMethod$i_method_multi$RUBYINVOKER$call:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:391:in `call'
	from org.jruby.ast.CallOneArgNode:57:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:153:in `yield'
	from org.jruby.runtime.Block:105:in `yield'
	from org.jruby.RubyArray:1415:in `each'
	from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
	from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:274:in `call'
	from org.jruby.RubyClass:362:in `finvoke'
	from org.jruby.RubyObject:2048:in `send'
	from org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:168:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
	from org.jruby.ast.CallTwoArgNode:59:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:190:in `yield'
	from org.jruby.runtime.BlockBody:64:in `call'
	from org.jruby.runtime.Block:101:in `call'
	from org.jruby.RubyProc:200:in `call'
	from org.jruby.RubyProc:187:in `call'
	from org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call:-1:in `call'
	from org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock:62:in
`call'
	from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
	from org.jruby.ast.CallOneArgNode:57:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.WhenNode:97:in `interpret'
	from org.jruby.ast.CaseNode:160:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:153:in `yield'
	from org.jruby.runtime.Block:105:in `yield'
	from org.jruby.RubyArray:1415:in `each'
	from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:352:in `call'
	from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.RubyClass:333:in `invoke'
	from org.jruby.javasupport.util.RuntimeHelpers:366:in `invokeAs'
	from org.jruby.RubyObject:685:in `callSuper'
	from org.jruby.javasupport.util.RuntimeHelpers:624:in `callZSuper'
	from org.jruby.ast.ZSuperNode:92:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:190:in `yield'
	from org.jruby.runtime.Block:110:in `yield'
	from org.jruby.ast.YieldNode:95:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.EnsureNode:93:in `interpret'
	from org.jruby.ast.BeginNode:80:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:274:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:168:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:406:in `call'
	from org.jruby.ast.CallOneArgBlockNode:60:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
	from org.jruby.ast.FCallOneArgNode:36:in `interpret'
	from org.jruby.ast.IfNode:108:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.ast.EnsureNode:93:in `interpret'
	from org.jruby.ast.BeginNode:80:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:153:in `yield'
	from org.jruby.runtime.Block:105:in `yield'
	from org.jruby.libraries.ThreadLibrary$Mutex:159:in `synchronize'
	from org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize:-1:in
`call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:352:in `call'
	from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:295:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
	from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
	from org.jruby.RubyClass:322:in `finvoke'
	from org.jruby.RubyObject:2042:in `send'
	from org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
	from org.jruby.ast.CallSpecialArgNode:67:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:153:in `yield'
	from org.jruby.runtime.Block:105:in `yield'
	from org.jruby.RubyArray:1415:in `each'
	from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
	from org.jruby.ast.CallNoArgBlockPassNode:52:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.ast.IfNode:108:in `interpret'
	from org.jruby.ast.IfNode:110:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
	from org.jruby.ast.CallSpecialArgNode:65:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
	from org.jruby.ast.VCallNode:82:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:190:in `yield'
	from org.jruby.runtime.BlockBody:64:in `call'
	from org.jruby.runtime.Block:101:in `call'
	from org.jruby.RubyProc:200:in `call'
	from org.jruby.RubyProc:187:in `call'
	from org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call:-1:in `call'
	from org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock:62:in
`call'
	from org.jruby.internal.runtime.methods.DynamicMethod:260:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:168:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
	from org.jruby.ast.CallTwoArgNode:59:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.CaseNode:120:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:153:in `yield'
	from org.jruby.runtime.Block:105:in `yield'
	from org.jruby.RubyArray:1415:in `each'
	from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
	from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
	from org.jruby.ast.FCallOneArgNode:36:in `interpret'
	from org.jruby.ast.IfNode:108:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.ast.EnsureNode:93:in `interpret'
	from org.jruby.ast.BeginNode:80:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:153:in `yield'
	from org.jruby.runtime.Block:105:in `yield'
	from org.jruby.libraries.ThreadLibrary$Mutex:159:in `synchronize'
	from org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize:-1:in
`call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
	from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:295:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
	from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
	from org.jruby.ast.CallSpecialArgNode:65:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
	from org.jruby.ast.FCallOneArgNode:36:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:153:in `yield'
	from org.jruby.runtime.Block:105:in `yield'
	from org.jruby.RubyArray:1415:in `each'
	from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
	from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.IfNode:110:in `interpret'
	from org.jruby.ast.IfNode:110:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:190:in `yield'
	from org.jruby.runtime.Block:110:in `yield'
	from org.jruby.ast.YieldNode:95:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.RescueNode:222:in `executeBody'
	from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
	from org.jruby.ast.RescueNode:107:in `interpret'
	from org.jruby.ast.BeginNode:80:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in `callIter'
	from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
	from org.jruby.ast.VCallNode:82:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:190:in `yield'
	from org.jruby.runtime.Block:110:in `yield'
	from org.jruby.ast.YieldNode:95:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.RescueNode:222:in `executeBody'
	from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
	from org.jruby.ast.RescueNode:107:in `interpret'
	from org.jruby.ast.BeginNode:80:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in `callIter'
	from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
	from org.jruby.runtime.InterpretedBlock:190:in `yield'
	from org.jruby.runtime.Block:110:in `yield'
	from org.jruby.ast.YieldNode:95:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
	from org.jruby.internal.runtime.methods.WrapperMethod:74:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
	from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
	from org.jruby.ast.LocalAsgnNode:115:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
	from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
	from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
	from org.jruby.ast.CallNoArgNode:61:in `interpret'
	from org.jruby.ast.NewlineNode:101:in `interpret'
	from org.jruby.ast.BlockNode:67:in `interpret'
	from org.jruby.ast.RootNode:126:in `interpret'
	from org.jruby.Ruby:2107:in `loadFile'
	from org.jruby.runtime.load.ExternalScript:58:in `load'
	from org.jruby.runtime.load.LoadService:221:in `load'
	from org.jruby.RubyKernel:830:in `load'
	from org.jruby.RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in `cacheAndCall'
	from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
	from opt.jruby.bin.buildr:19:in `__file__'
	from opt.jruby.bin.buildr:-1:in `__file__'
	from opt.jruby.bin.buildr:-1:in `load'
	from org.jruby.Ruby:544:in `runScript'
	from org.jruby.Ruby:457:in `runNormally'
	from org.jruby.Ruby:330:in `runFromMain'
	from org.jruby.Main:214:in `run'
	from org.jruby.Main:100:in `run'
	from org.jruby.Main:84:in `main'

If it helps, jgem list outputs:

*** LOCAL GEMS ***

Antwrap (0.7.0)
archive-tar-minitar (0.5.2)
builder (2.1.2)
buildr (1.3.2)
ci_reporter (1.5.1)
highline (1.4.0)
hoe (1.7.0, 1.6.0)
jruby-openssl (0.3, 0.2)
net-sftp (2.0.1)
net-ssh (2.0.4, 2.0.3)
rake (0.8.1)
rspec (1.1.4)
rubyforge (1.0.0)
rubyzip (0.9.1)
sources (0.0.1)
xml-simple (1.0.11)

Re: Exception when loading buildr with jruby 1.1.4 and java 1.6 on Mac OS X 1.5.5

Posted by Assaf Arkin <ar...@intalio.com>.
On Tue, Sep 30, 2008 at 7:13 PM, Victor Hugo Borja <vi...@gmail.com> wrote:
> Most likely the gem version (1.3.2) you have installed doesn't work with
> jruby 1.1.4.

I just tested again, 1.3.2 won't run with JRuby 1.1.4, but with the
fix you made for 1.3.3, it can run with either JRuby 1.1.4 or 1.1.3.

Assaf

>
> Try using trunk, and if it fails again, please submit a bug to JIRA.
>
> On Tue, Sep 30, 2008 at 8:37 PM, Tal Rotbart <re...@gmail.com> wrote:
>
>> Hi all,
>>
>> I'm getting the following exception when running buildr with jruby
>> 1.1.4 and Java 1.6 on Mac OS X 1.5.5. Any clue would be greatly
>> appreciated.
>>
>> Cheers,
>> Tal
>>
>> /System/Library/Frameworks/JavaVM.framework/Versions>java -version
>> java version "1.6.0_07"
>> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
>> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>> /System/Library/Frameworks/JavaVM.framework/Versions>cd
>> ~/Dev/Workspace/Project1
>> ~/Dev/Workspace/Project1>buildr
>> (in /Users/redbeard/Dev/Workspace/Project1, development)
>> Java home is:
>> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
>> java.lang.reflect.Array:-2:in `set':
>> java.lang.IllegalArgumentException: array element type mismatch
>>        from org.jruby.javasupport.JavaArray:121:in
>> `setWithExceptionHandling'
>>        from org.jruby.java.addons.ArrayJavaAddons:108:in
>> `copyDataToJavaArray'
>>        from org.jruby.javasupport.JavaClass:1511:in
>> `javaArrayFromRubyArray'
>>        from org.jruby.java.addons.ArrayJavaAddons:80:in `to_java'
>>        from
>> org.jruby.java.addons.ArrayJavaAddons$s_method_multi$RUBYFRAMEDINVOKER$to_java:-1:in
>> `call'
>>                from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>>        from org.jruby.ast.CallOneArgNode:57:in `interpret'
>>        from org.jruby.ast.CallTwoArgNode:59:in `interpret'
>>        from org.jruby.ast.LocalAsgnNode:115:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>>        from org.jruby.ast.CallNoArgNode:61:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>>        from org.jruby.runtime.BlockBody:64:in `call'
>>        from org.jruby.runtime.Block:101:in `call'
>>        from org.jruby.RubyProc:200:in `call'
>>        from org.jruby.internal.runtime.methods.ProcMethod:64:in `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
>>        from org.jruby.RubyMethod:110:in `call'
>>        from org.jruby.RubyMethod$i_method_multi$RUBYINVOKER$call:-1:in
>> `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:391:in `call'
>>        from org.jruby.ast.CallOneArgNode:57:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>>        from org.jruby.runtime.Block:105:in `yield'
>>        from org.jruby.RubyArray:1415:in `each'
>>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
>> `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:274:in `call'
>>        from org.jruby.RubyClass:362:in `finvoke'
>>        from org.jruby.RubyObject:2048:in `send'
>>        from org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send:-1:in
>> `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:168:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>>        from org.jruby.ast.CallTwoArgNode:59:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>>        from org.jruby.runtime.BlockBody:64:in `call'
>>        from org.jruby.runtime.Block:101:in `call'
>>        from org.jruby.RubyProc:200:in `call'
>>        from org.jruby.RubyProc:187:in `call'
>>        from org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call:-1:in
>> `call'
>>        from
>> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock:62:in
>> `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>>        from org.jruby.ast.CallOneArgNode:57:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.WhenNode:97:in `interpret'
>>        from org.jruby.ast.CaseNode:160:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>>        from org.jruby.runtime.Block:105:in `yield'
>>        from org.jruby.RubyArray:1415:in `each'
>>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
>> `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:352:in `call'
>>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.RubyClass:333:in `invoke'
>>        from org.jruby.javasupport.util.RuntimeHelpers:366:in `invokeAs'
>>        from org.jruby.RubyObject:685:in `callSuper'
>>        from org.jruby.javasupport.util.RuntimeHelpers:624:in `callZSuper'
>>        from org.jruby.ast.ZSuperNode:92:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>>        from org.jruby.runtime.Block:110:in `yield'
>>        from org.jruby.ast.YieldNode:95:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.EnsureNode:93:in `interpret'
>>        from org.jruby.ast.BeginNode:80:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:274:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:168:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:406:in `call'
>>        from org.jruby.ast.CallOneArgBlockNode:60:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>>        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
>>        from org.jruby.ast.IfNode:108:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.ast.EnsureNode:93:in `interpret'
>>        from org.jruby.ast.BeginNode:80:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>>        from org.jruby.runtime.Block:105:in `yield'
>>        from org.jruby.libraries.ThreadLibrary$Mutex:159:in `synchronize'
>>        from
>> org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize:-1:in
>> `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:352:in `call'
>>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:295:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>>        from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>>        from org.jruby.RubyClass:322:in `finvoke'
>>        from org.jruby.RubyObject:2042:in `send'
>>        from org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send:-1:in
>> `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>>        from org.jruby.ast.CallSpecialArgNode:67:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>>        from org.jruby.runtime.Block:105:in `yield'
>>        from org.jruby.RubyArray:1415:in `each'
>>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
>> `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>>        from org.jruby.ast.CallNoArgBlockPassNode:52:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.ast.IfNode:108:in `interpret'
>>        from org.jruby.ast.IfNode:110:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>>        from org.jruby.ast.CallSpecialArgNode:65:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>>        from org.jruby.ast.VCallNode:82:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>>        from org.jruby.runtime.BlockBody:64:in `call'
>>        from org.jruby.runtime.Block:101:in `call'
>>        from org.jruby.RubyProc:200:in `call'
>>        from org.jruby.RubyProc:187:in `call'
>>        from org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call:-1:in
>> `call'
>>        from
>> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock:62:in
>> `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:260:in `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:168:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>>        from org.jruby.ast.CallTwoArgNode:59:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.CaseNode:120:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>>        from org.jruby.runtime.Block:105:in `yield'
>>        from org.jruby.RubyArray:1415:in `each'
>>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
>> `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>>        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
>>        from org.jruby.ast.IfNode:108:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.ast.EnsureNode:93:in `interpret'
>>        from org.jruby.ast.BeginNode:80:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>>        from org.jruby.runtime.Block:105:in `yield'
>>        from org.jruby.libraries.ThreadLibrary$Mutex:159:in `synchronize'
>>        from
>> org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize:-1:in
>> `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:295:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>>        from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>>        from org.jruby.ast.CallSpecialArgNode:65:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>>        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>>        from org.jruby.runtime.Block:105:in `yield'
>>        from org.jruby.RubyArray:1415:in `each'
>>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
>> `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.IfNode:110:in `interpret'
>>        from org.jruby.ast.IfNode:110:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>>        from org.jruby.runtime.Block:110:in `yield'
>>        from org.jruby.ast.YieldNode:95:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.RescueNode:222:in `executeBody'
>>        from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
>>        from org.jruby.ast.RescueNode:107:in `interpret'
>>        from org.jruby.ast.BeginNode:80:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in
>> `callIter'
>>        from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>>        from org.jruby.ast.VCallNode:82:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>>        from org.jruby.runtime.Block:110:in `yield'
>>        from org.jruby.ast.YieldNode:95:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.RescueNode:222:in `executeBody'
>>        from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
>>        from org.jruby.ast.RescueNode:107:in `interpret'
>>        from org.jruby.ast.BeginNode:80:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in
>> `callIter'
>>        from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>>        from org.jruby.runtime.Block:110:in `yield'
>>        from org.jruby.ast.YieldNode:95:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>>        from org.jruby.internal.runtime.methods.WrapperMethod:74:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>>        from org.jruby.ast.LocalAsgnNode:115:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
>> `interpretedCall'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>>        from org.jruby.ast.CallNoArgNode:61:in `interpret'
>>        from org.jruby.ast.NewlineNode:101:in `interpret'
>>        from org.jruby.ast.BlockNode:67:in `interpret'
>>        from org.jruby.ast.RootNode:126:in `interpret'
>>        from org.jruby.Ruby:2107:in `loadFile'
>>        from org.jruby.runtime.load.ExternalScript:58:in `load'
>>        from org.jruby.runtime.load.LoadService:221:in `load'
>>        from org.jruby.RubyKernel:830:in `load'
>>        from org.jruby.RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load:-1:in
>> `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
>>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
>> `cacheAndCall'
>>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>>        from opt.jruby.bin.buildr:19:in `__file__'
>>        from opt.jruby.bin.buildr:-1:in `__file__'
>>        from opt.jruby.bin.buildr:-1:in `load'
>>        from org.jruby.Ruby:544:in `runScript'
>>        from org.jruby.Ruby:457:in `runNormally'
>>        from org.jruby.Ruby:330:in `runFromMain'
>>        from org.jruby.Main:214:in `run'
>>        from org.jruby.Main:100:in `run'
>>        from org.jruby.Main:84:in `main'
>>
>> If it helps, jgem list outputs:
>>
>> *** LOCAL GEMS ***
>>
>> Antwrap (0.7.0)
>> archive-tar-minitar (0.5.2)
>> builder (2.1.2)
>> buildr (1.3.2)
>> ci_reporter (1.5.1)
>> highline (1.4.0)
>> hoe (1.7.0, 1.6.0)
>> jruby-openssl (0.3, 0.2)
>> net-sftp (2.0.1)
>> net-ssh (2.0.4, 2.0.3)
>> rake (0.8.1)
>> rspec (1.1.4)
>> rubyforge (1.0.0)
>> rubyzip (0.9.1)
>> sources (0.0.1)
>> xml-simple (1.0.11)
>>
>
>
>
> --
> vic
>
> Quaerendo invenietis.
>

Re: Exception when loading buildr with jruby 1.1.4 and java 1.6 on Mac OS X 1.5.5

Posted by Victor Hugo Borja <vi...@gmail.com>.
Most likely the gem version (1.3.2) you have installed doesn't work with
jruby 1.1.4.

Try using trunk, and if it fails again, please submit a bug to JIRA.

On Tue, Sep 30, 2008 at 8:37 PM, Tal Rotbart <re...@gmail.com> wrote:

> Hi all,
>
> I'm getting the following exception when running buildr with jruby
> 1.1.4 and Java 1.6 on Mac OS X 1.5.5. Any clue would be greatly
> appreciated.
>
> Cheers,
> Tal
>
> /System/Library/Frameworks/JavaVM.framework/Versions>java -version
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
> /System/Library/Frameworks/JavaVM.framework/Versions>cd
> ~/Dev/Workspace/Project1
> ~/Dev/Workspace/Project1>buildr
> (in /Users/redbeard/Dev/Workspace/Project1, development)
> Java home is:
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> java.lang.reflect.Array:-2:in `set':
> java.lang.IllegalArgumentException: array element type mismatch
>        from org.jruby.javasupport.JavaArray:121:in
> `setWithExceptionHandling'
>        from org.jruby.java.addons.ArrayJavaAddons:108:in
> `copyDataToJavaArray'
>        from org.jruby.javasupport.JavaClass:1511:in
> `javaArrayFromRubyArray'
>        from org.jruby.java.addons.ArrayJavaAddons:80:in `to_java'
>        from
> org.jruby.java.addons.ArrayJavaAddons$s_method_multi$RUBYFRAMEDINVOKER$to_java:-1:in
> `call'
>                from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>        from org.jruby.ast.CallOneArgNode:57:in `interpret'
>        from org.jruby.ast.CallTwoArgNode:59:in `interpret'
>        from org.jruby.ast.LocalAsgnNode:115:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>        from org.jruby.ast.CallNoArgNode:61:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>        from org.jruby.runtime.BlockBody:64:in `call'
>        from org.jruby.runtime.Block:101:in `call'
>        from org.jruby.RubyProc:200:in `call'
>        from org.jruby.internal.runtime.methods.ProcMethod:64:in `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
>        from org.jruby.RubyMethod:110:in `call'
>        from org.jruby.RubyMethod$i_method_multi$RUBYINVOKER$call:-1:in
> `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:391:in `call'
>        from org.jruby.ast.CallOneArgNode:57:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>        from org.jruby.runtime.Block:105:in `yield'
>        from org.jruby.RubyArray:1415:in `each'
>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
> `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:274:in `call'
>        from org.jruby.RubyClass:362:in `finvoke'
>        from org.jruby.RubyObject:2048:in `send'
>        from org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send:-1:in
> `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:168:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>        from org.jruby.ast.CallTwoArgNode:59:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>        from org.jruby.runtime.BlockBody:64:in `call'
>        from org.jruby.runtime.Block:101:in `call'
>        from org.jruby.RubyProc:200:in `call'
>        from org.jruby.RubyProc:187:in `call'
>        from org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call:-1:in
> `call'
>        from
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock:62:in
> `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>        from org.jruby.ast.CallOneArgNode:57:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.WhenNode:97:in `interpret'
>        from org.jruby.ast.CaseNode:160:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>        from org.jruby.runtime.Block:105:in `yield'
>        from org.jruby.RubyArray:1415:in `each'
>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
> `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:352:in `call'
>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.RubyClass:333:in `invoke'
>        from org.jruby.javasupport.util.RuntimeHelpers:366:in `invokeAs'
>        from org.jruby.RubyObject:685:in `callSuper'
>        from org.jruby.javasupport.util.RuntimeHelpers:624:in `callZSuper'
>        from org.jruby.ast.ZSuperNode:92:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>        from org.jruby.runtime.Block:110:in `yield'
>        from org.jruby.ast.YieldNode:95:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.EnsureNode:93:in `interpret'
>        from org.jruby.ast.BeginNode:80:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:274:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:168:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:406:in `call'
>        from org.jruby.ast.CallOneArgBlockNode:60:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
>        from org.jruby.ast.IfNode:108:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.ast.EnsureNode:93:in `interpret'
>        from org.jruby.ast.BeginNode:80:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>        from org.jruby.runtime.Block:105:in `yield'
>        from org.jruby.libraries.ThreadLibrary$Mutex:159:in `synchronize'
>        from
> org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize:-1:in
> `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:352:in `call'
>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:295:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>        from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>        from org.jruby.RubyClass:322:in `finvoke'
>        from org.jruby.RubyObject:2042:in `send'
>        from org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send:-1:in
> `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>        from org.jruby.ast.CallSpecialArgNode:67:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>        from org.jruby.runtime.Block:105:in `yield'
>        from org.jruby.RubyArray:1415:in `each'
>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
> `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>        from org.jruby.ast.CallNoArgBlockPassNode:52:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.ast.IfNode:108:in `interpret'
>        from org.jruby.ast.IfNode:110:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>        from org.jruby.ast.CallSpecialArgNode:65:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>        from org.jruby.ast.VCallNode:82:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>        from org.jruby.runtime.BlockBody:64:in `call'
>        from org.jruby.runtime.Block:101:in `call'
>        from org.jruby.RubyProc:200:in `call'
>        from org.jruby.RubyProc:187:in `call'
>        from org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call:-1:in
> `call'
>        from
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock:62:in
> `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:260:in `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:168:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>        from org.jruby.ast.CallTwoArgNode:59:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.CaseNode:120:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>        from org.jruby.runtime.Block:105:in `yield'
>        from org.jruby.RubyArray:1415:in `each'
>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
> `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
>        from org.jruby.ast.IfNode:108:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.ast.EnsureNode:93:in `interpret'
>        from org.jruby.ast.BeginNode:80:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>        from org.jruby.runtime.Block:105:in `yield'
>        from org.jruby.libraries.ThreadLibrary$Mutex:159:in `synchronize'
>        from
> org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize:-1:in
> `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:295:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:180:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:445:in `call'
>        from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>        from org.jruby.ast.CallSpecialArgNode:65:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:253:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:153:in `yield'
>        from org.jruby.runtime.Block:105:in `yield'
>        from org.jruby.RubyArray:1415:in `each'
>        from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in
> `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.IfNode:110:in `interpret'
>        from org.jruby.ast.IfNode:110:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>        from org.jruby.runtime.Block:110:in `yield'
>        from org.jruby.ast.YieldNode:95:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.RescueNode:222:in `executeBody'
>        from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
>        from org.jruby.ast.RescueNode:107:in `interpret'
>        from org.jruby.ast.BeginNode:80:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in
> `callIter'
>        from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>        from org.jruby.ast.VCallNode:82:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>        from org.jruby.runtime.Block:110:in `yield'
>        from org.jruby.ast.YieldNode:95:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.RescueNode:222:in `executeBody'
>        from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
>        from org.jruby.ast.RescueNode:107:in `interpret'
>        from org.jruby.ast.BeginNode:80:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:374:in
> `callIter'
>        from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
>        from org.jruby.runtime.InterpretedBlock:190:in `yield'
>        from org.jruby.runtime.Block:110:in `yield'
>        from org.jruby.ast.YieldNode:95:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:232:in `call'
>        from org.jruby.internal.runtime.methods.WrapperMethod:74:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:144:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:355:in `call'
>        from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
>        from org.jruby.ast.LocalAsgnNode:115:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.internal.runtime.methods.DefaultMethod:163:in
> `interpretedCall'
>        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
>        from org.jruby.internal.runtime.methods.DefaultMethod:211:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:132:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:343:in `call'
>        from org.jruby.ast.CallNoArgNode:61:in `interpret'
>        from org.jruby.ast.NewlineNode:101:in `interpret'
>        from org.jruby.ast.BlockNode:67:in `interpret'
>        from org.jruby.ast.RootNode:126:in `interpret'
>        from org.jruby.Ruby:2107:in `loadFile'
>        from org.jruby.runtime.load.ExternalScript:58:in `load'
>        from org.jruby.runtime.load.LoadService:221:in `load'
>        from org.jruby.RubyKernel:830:in `load'
>        from org.jruby.RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load:-1:in
> `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
>        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
> `cacheAndCall'
>        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
>        from opt.jruby.bin.buildr:19:in `__file__'
>        from opt.jruby.bin.buildr:-1:in `__file__'
>        from opt.jruby.bin.buildr:-1:in `load'
>        from org.jruby.Ruby:544:in `runScript'
>        from org.jruby.Ruby:457:in `runNormally'
>        from org.jruby.Ruby:330:in `runFromMain'
>        from org.jruby.Main:214:in `run'
>        from org.jruby.Main:100:in `run'
>        from org.jruby.Main:84:in `main'
>
> If it helps, jgem list outputs:
>
> *** LOCAL GEMS ***
>
> Antwrap (0.7.0)
> archive-tar-minitar (0.5.2)
> builder (2.1.2)
> buildr (1.3.2)
> ci_reporter (1.5.1)
> highline (1.4.0)
> hoe (1.7.0, 1.6.0)
> jruby-openssl (0.3, 0.2)
> net-sftp (2.0.1)
> net-ssh (2.0.4, 2.0.3)
> rake (0.8.1)
> rspec (1.1.4)
> rubyforge (1.0.0)
> rubyzip (0.9.1)
> sources (0.0.1)
> xml-simple (1.0.11)
>



-- 
vic

Quaerendo invenietis.