Exception when installing sequel gem

View: New views
2 Messages — Rating Filter:   Alert me  

Exception when installing sequel gem

by nabblee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I try to install sequel or sequel_core into Netbeans 6.5 RC2, I get the following exception:

org.jruby.RubyString:2089:in `oct': java.lang.ArrayIndexOutOfBoundsException: 2
        from org.jruby.RubyString$i_method_0_0$RUBYINVOKER$oct:-1:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:340:in `call'
        from org.jruby.ast.CallNoArgNode:61: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:253:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:391:in `call'
        from org.jruby.ast.CallOneArgNode:57:in `interpret'
        from org.jruby.ast.DAsgnNode:107: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.RubyKernel:1039:in `loop'
        from org.jruby.RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop:-1: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:232: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:316:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:192:in `cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:457:in `call'
        from org.jruby.RubyClass$SpecificArityNew:551:in `call'
        from org.jruby.internal.runtime.methods.DynamicMethod:168:in `call'
        from org.jruby.internal.runtime.methods.WrapperMethod:62: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.LocalAsgnNode:115: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.internal.runtime.methods.DefaultMethod:163:in `interpretedCall'
        from org.jruby.internal.runtime.methods.DefaultMethod:140:in `call'
        from org.jruby.internal.runtime.methods.DefaultMethod:316:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:192:in `cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:457:in `call'
        from org.jruby.ast.CallTwoArgBlockPassNode:62: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:358:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:216:in `cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:527:in `callIter'
        from org.jruby.ast.CallThreeArgBlockNode:64: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:337:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:204:in `cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:496:in `call'
        from org.jruby.ast.FCallThreeArgNode:40:in `interpret'
        from org.jruby.ast.LocalAsgnNode:115: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.RubyIO:886:in `open'
        from org.jruby.RubyKernel:194:in `open'
        from org.jruby.RubyKernel$s_method_0_2$RUBYFRAMEDINVOKER$open:-1:in `call'
        from org.jruby.internal.runtime.methods.DynamicMethod:260:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:192:in `cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:476:in `callIter'
        from org.jruby.ast.FCallTwoArgBlockNode:35:in `interpret'
        from org.jruby.ast.NewlineNode:101: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: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.CallTwoArgNode:59:in `interpret'
        from org.jruby.ast.InstAsgnNode:88: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.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:316:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:192:in `cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:457:in `call'
        from org.jruby.RubyClass$SpecificArityNew:551: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.DAsgnNode:107: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.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: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.CallTwoArgNode:59:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:67: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.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: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.IfNode:110: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:337:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:204:in `cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:496:in `call'
        from org.jruby.ast.CallSpecialArgNode:71:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:67:in `interpret'
        from org.jruby.ast.CaseNode:120: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.ast.RescueNode:222:in `executeBody'
        from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
        from org.jruby.ast.RescueNode:107: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.CallOneArgNode:57: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 C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_RC2.ruby2.jruby_minus_1_dot_1_dot_4.bin.gem:24:in `rescue_1$RUBY$__rescue__'
        from C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_RC2.ruby2.jruby_minus_1_dot_1_dot_4.bin.gem:23:in `__file__'
        from C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_RC2.ruby2.jruby_minus_1_dot_1_dot_4.bin.gem:-1:in `__file__'
        from C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_RC2.ruby2.jruby_minus_1_dot_1_dot_4.bin.gem:-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'

Any idea why?

Thanks,
Lee

Re: Exception when installing sequel gem

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nabblee wrote:
> When I try to install sequel or sequel_core into Netbeans 6.5 RC2, I get the
> following exception:
>
> org.jruby.RubyString:2089:in `oct':
> java.lang.ArrayIndexOutOfBoundsException: 2
> from org.jruby.RubyString$i_method_0_0$RUBYINVOKER$oct:-1:in `call'
[...]
> from org.jruby.Main:214:in `run'
> from org.jruby.Main:100:in `run'
> from org.jruby.Main:84:in `main'
>
> Any idea why?

Seemingly bug in the JRuby. Which version of JRuby are you using? The
bundled one - JRuby 1.1.4? If so you might try to get latest one JRuby
1.1.5 and add it to the NetBeans or if you are already using latest
1.1.5 could you file a bug against JRuby?

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...