Skip to content

Instantly share code, notes, and snippets.

@ohookins
Created November 20, 2012 17:00
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 ohookins/4119264 to your computer and use it in GitHub Desktop.
Save ohookins/4119264 to your computer and use it in GitHub Desktop.
S3 bucket walker exception
Exception in thread "RubyThread-61: ./s3_ls.rb:3" java.lang.ArrayIndexOutOfBoundsException: 18
at org.jruby.util.MurmurHash.hash32(MurmurHash.java:33)
at org.jruby.RubyString.strHashCode(RubyString.java:1216)
at org.jruby.RubyString.hashCode(RubyString.java:1206)
at org.jruby.RubyHash.internalGetEntry(RubyHash.java:506)
at org.jruby.RubyHash.op_asetForString(RubyHash.java:910)
at org.jruby.RubyHash.fastASetCheckString19(RubyHash.java:879)
at org.jruby.RubyHash.op_aset19(RubyHash.java:905)
at org.jruby.RubyHash$INVOKER$i$2$0$op_aset19.call(RubyHash$INVOKER$i$2$0$op_aset19.gen)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:202)
at org.jruby.ast.AttrAssignTwoArgNode.interpret(AttrAssignTwoArgNode.java:42)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.ast.IfNode.interpret(IfNode.java:116)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
at org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:209)
at org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:160)
at org.jruby.runtime.Block.yield(Block.java:130)
at org.jruby.RubyHash$13.visit(RubyHash.java:1205)
at org.jruby.RubyHash.visitAll(RubyHash.java:594)
at org.jruby.RubyHash.iteratorVisitAll(RubyHash.java:1156)
at org.jruby.RubyHash.each_pairCommon(RubyHash.java:1201)
at org.jruby.RubyHash.each_pair(RubyHash.java:1217)
at org.jruby.RubyHash$INVOKER$i$0$0$each_pair.call(RubyHash$INVOKER$i$0$0$each_pair.gen)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)
at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
at org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:209)
at org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:197)
at org.jruby.runtime.Interpreted19Block.call(Interpreted19Block.java:128)
at org.jruby.runtime.Block.call(Block.java:89)
at org.jruby.RubyProc.call(RubyProc.java:261)
at org.jruby.internal.runtime.methods.ProcMethod.call(ProcMethod.java:64)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:208)
at org.jruby.RubyClass.finvoke(RubyClass.java:630)
at org.jruby.RubyBasicObject.send19(RubyBasicObject.java:1673)
at org.jruby.RubyKernel.send19(RubyKernel.java:2081)
at org.jruby.RubyKernel$INVOKER$s$send19.call(RubyKernel$INVOKER$s$send19.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrTwoOrNBlock.call(JavaMethod.java:344)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:202)
at rubyjit.AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814.block_3$RUBY$__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:455)
at rubyjit$AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814$block_3$RUBY$__file__.call(rubyjit$AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814$block_3$RUBY$__file__)
at org.jruby.runtime.CompiledBlock19.yield(CompiledBlock19.java:163)
at org.jruby.runtime.CompiledBlock19.call(CompiledBlock19.java:91)
at org.jruby.runtime.Block.call(Block.java:89)
at org.jruby.RubyProc.call(RubyProc.java:261)
at org.jruby.RubyProc.call19(RubyProc.java:249)
at org.jruby.RubyProc$INVOKER$i$0$0$call19.call(RubyProc$INVOKER$i$0$0$call19.gen)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:196)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
at rubyjit.AWS::Core::AsyncHandle$$on_success_8B175EB9AAAB85314BF192896C7E177DBDAD9E00737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/async_handle.rb:40)
at rubyjit.AWS::Core::AsyncHandle$$on_success_8B175EB9AAAB85314BF192896C7E177DBDAD9E00737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/async_handle.rb)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:161)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)
at rubyjit.AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814.block_1$RUBY$__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:454)
at rubyjit$AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814$block_1$RUBY$__file__.call(rubyjit$AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814$block_1$RUBY$__file__)
at org.jruby.runtime.CompiledBlock19.yieldSpecificInternal(CompiledBlock19.java:121)
at org.jruby.runtime.CompiledBlock19.yieldSpecific(CompiledBlock19.java:96)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at rubyjit.AWS::Core::Client$$log_client_request_07C3F5158E24C7B5F335C52CB7A961C5BD36E67D737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:334)
at rubyjit.AWS::Core::Client$$log_client_request_07C3F5158E24C7B5F335C52CB7A961C5BD36E67D737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:201)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:177)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:188)
at rubyjit.AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814.block_0$RUBY$__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:420)
at rubyjit$AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814$block_0$RUBY$__file__.call(rubyjit$AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814$block_0$RUBY$__file__)
at org.jruby.runtime.CompiledBlock19.yieldSpecificInternal(CompiledBlock19.java:121)
at org.jruby.runtime.CompiledBlock19.yieldSpecific(CompiledBlock19.java:96)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at rubyjit.AWS::Core::Client$$return_or_raise_2D81DC4B2BBE12439C0352DE749CBB9D56F9BBFE737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:316)
at rubyjit.AWS::Core::Client$$return_or_raise_2D81DC4B2BBE12439C0352DE749CBB9D56F9BBFE737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:201)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:177)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:188)
at rubyjit.AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb:419)
at rubyjit.AWS::Core::Client$$client_request_D56093ABEBFB27D176124E35B4BA309EFF7FFAB9737818814.__file__(/home/ubuntu/.rvm/gems/jruby-1.7.0/gems/aws-sdk-1.7.1/lib/aws/core/client.rb)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:241)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:211)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:217)
at org.jruby.ast.FCallTwoArgBlockPassNode.interpret(FCallTwoArgBlockPassNode.java:34)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:192)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:88)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:64)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
at $_dot_.s3_ls.block_5$RUBY$run(./s3_ls.rb:29)
at $_dot_$s3_ls$block_5$RUBY$run.call($_dot_$s3_ls$block_5$RUBY$run)
at org.jruby.runtime.CompiledBlock19.yield(CompiledBlock19.java:139)
at org.jruby.runtime.Block.yield(Block.java:130)
at org.jruby.RubyArray.eachCommon(RubyArray.java:1605)
at org.jruby.RubyArray.each(RubyArray.java:1612)
at org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:149)
at org.jruby.ast.CallNoArgBlockPassNode.interpret(CallNoArgBlockPassNode.java:53)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
at org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:209)
at org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:160)
at org.jruby.runtime.Interpreted19Block.yieldSpecific(Interpreted19Block.java:138)
at org.jruby.runtime.Block.yieldSpecific(Block.java:108)
at org.jruby.ast.YieldOneNode.interpret(YieldOneNode.java:35)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.UntilNode.interpret(UntilNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:204)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:200)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:177)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:183)
at org.jruby.ast.FCallOneArgBlockPassNode.interpret(FCallOneArgBlockPassNode.java:32)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:204)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:200)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:177)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:188)
at org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:204)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:200)
at org.jruby.runtime.callsite.SuperCallSite.callBlock(SuperCallSite.java:190)
at org.jruby.runtime.callsite.SuperCallSite.call(SuperCallSite.java:197)
at org.jruby.runtime.callsite.SuperCallSite.callVarargs(SuperCallSite.java:108)
at org.jruby.ast.ZSuperNode.interpret(ZSuperNode.java:104)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:161)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:184)
at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)
at $_dot_.s3_ls.chained_1_rescue_1$RUBY$SYNTHETICrun(./s3_ls.rb:29)
at $_dot_.s3_ls.block_4$RUBY$run(./s3_ls.rb:28)
at $_dot_$s3_ls$block_4$RUBY$run.call($_dot_$s3_ls$block_4$RUBY$run)
at org.jruby.runtime.CompiledBlock19.yield(CompiledBlock19.java:163)
at org.jruby.runtime.CompiledBlock19.call(CompiledBlock19.java:91)
at org.jruby.runtime.Block.call(Block.java:89)
at org.jruby.RubyProc.call(RubyProc.java:261)
at org.jruby.RubyProc.call(RubyProc.java:213)
at org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:98)
at java.lang.Thread.run(Thread.java:722)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment