Skip to content

Instantly share code, notes, and snippets.

@nrk
Created July 18, 2010 13:47
Show Gist options
  • Select an option

  • Save nrk/480406 to your computer and use it in GitHub Desktop.

Select an option

Save nrk/480406 to your computer and use it in GitHub Desktop.
Loaded suite ipaddress\ipv4_test
Started
......F.................................
Finished in 2.302 seconds.
1) Failure:
test_initialize_format_error(IPv4Test) [ipaddress\ipv4_test.rb:74]:
<ArgumentError> exception expected but was
Class: <Java::JavaLang::ArrayIndexOutOfBoundsException>
Message: <"1">
---Backtrace---
org.jruby.RubyArray.eltInternal(RubyArray.java:771)
org.jruby.util.Pack.encode(Pack.java:1343)
org.jruby.util.Pack.pack(Pack.java:1640)
org.jruby.RubyArray.pack(RubyArray.java:3852)
org.jruby.RubyArray$i_method_1_0$RUBYINVOKER$pack.call(org/jruby/RubyArray$i_method_1_0$RUBYIN
VOKER$pack.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199)
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:180)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:172)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:146)
ruby.jit.initialize_EABF17B57E825DB02DF1AC1A2716D5A8DE01252D.__file__(ipv4.rb:84)
ruby.jit.initialize_EABF17B57E825DB02DF1AC1A2716D5A8DE01252D.__file__(ipv4.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:170)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:155)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)
org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:804)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:186)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
ipaddress.ipv4_test.block_5$RUBY$__block__(ipv4_test.rb:74)
ipaddress.ipv4_testBlockCallback$block_5$RUBY$__block__xx1.call(Unknown Source)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)
org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:78)
org.jruby.runtime.Block.yieldSpecific(Block.java:99)
org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199)
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:294)
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:228)
org.jruby.runtime.Block.yieldSpecific(Block.java:99)
ruby.jit.assert_block_EF57D70B974CA0DA3620E4964BB63142FE051D7B.block_0$RUBY$__block__(assertio
ns.rb:47)
ruby.jit.assert_block_EF57D70B974CA0DA3620E4964BB63142FE051D7BBlockCallback$block_0$RUBY$__blo
ck__xx1.call(Unknown Source)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:115)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:98)
org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:78)
org.jruby.runtime.Block.yieldSpecific(Block.java:99)
ruby.jit._wrap_assertion_377C6CEDF6BC28BEAE89FBB42B45F08595A9D2A5.__file__(assertions.rb:500)
ruby.jit._wrap_assertion_377C6CEDF6BC28BEAE89FBB42B45F08595A9D2A5.__file__(assertions.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:136)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)
ruby.jit.assert_block_EF57D70B974CA0DA3620E4964BB63142FE051D7B.__file__(assertions.rb:46)
ruby.jit.assert_block_EF57D70B974CA0DA3620E4964BB63142FE051D7B.__file__(assertions.rb)
org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:39)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:170)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:155)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:172)
org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:294)
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:228)
org.jruby.runtime.Block.yieldSpecific(Block.java:99)
ruby.jit._wrap_assertion_377C6CEDF6BC28BEAE89FBB42B45F08595A9D2A5.ensure_1$RUBY$__ensure___0(a
ssertions.rb:495)
ruby.jit._wrap_assertion_377C6CEDF6BC28BEAE89FBB42B45F08595A9D2A5.__file__(assertions.rb:493)
ruby.jit._wrap_assertion_377C6CEDF6BC28BEAE89FBB42B45F08595A9D2A5.__file__(assertions.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:136)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:132)
org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:180)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:319)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:157)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:172)
ipaddress.ipv4_test.method__3$RUBY$test_initialize_format_error(ipv4_test.rb:74)
ipaddress_ipv4_testInvokermethod__3$RUBY$test_initialize_format_errorFixed0.call(ipaddress_ipv
4_testInvokermethod__3$RUBY$test_initialize_format_errorFixed0#test_initialize_format_error:65
535)
org.jruby.RubyClass.finvoke(RubyClass.java:502)
org.jruby.RubyObject.send(RubyObject.java:1437)
org.jruby.RubyObject$i_method_multi$RUBYINVOKER$send.call(org/jruby/RubyObject$i_method_multi$
RUBYINVOKER$send.gen:65535)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java
:266)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:309)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:148)
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.RescueNode.executeBody(RescueNode.java:199)
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:118)
org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:180)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:319)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:157)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)
org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyArray.eachCommon(RubyArray.java:1630)
org.jruby.RubyArray.each(RubyArray.java:1637)
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$
RUBYFRAMEDINVOKER$each.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:115)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:180)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:319)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:157)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)
org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
org.jruby.runtime.Block.yield(Block.java:194)
org.jruby.RubyArray.eachCommon(RubyArray.java:1630)
org.jruby.RubyArray.each(RubyArray.java:1637)
org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$
RUBYFRAMEDINVOKER$each.gen:65535)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:299)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:117)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:122)
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:180)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:319)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:157)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)
org.jruby.ast.CallOneArgBlockNode.interpret(CallOneArgBlockNode.java:60)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:221)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:188)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:329)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:188)
org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:139)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:156)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:289)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:108)
org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.ast.IfNode.interpret(IfNode.java:119)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:327)
org.jruby.runtime.BlockBody.call(BlockBody.java:78)
org.jruby.runtime.Block.call(Block.java:89)
org.jruby.RubyProc.call(RubyProc.java:224)
org.jruby.RubyProc.call(RubyProc.java:207)
org.jruby.Ruby.tearDown(Ruby.java:2797)
org.jruby.Ruby.tearDown(Ruby.java:2784)
org.jruby.Main.run(Main.java:288)
org.jruby.Main.run(Main.java:128)
org.jruby.Main.main(Main.java:97)
---------------
40 tests, 153 assertions, 1 failures, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment