Working with Amazon: through right_aws or Typica

Hello,

I’m trying to get a smart interface between Jruby and Amazon
(specifically sdb at the moment).

My first path was using the RightScale gem “right_aws”. However, I
found, even with jruby-openssl updated to 0.3, that I was having
stability issues.

As such, I decided to try to wrap a ruby friendly class around the Java
Typica library. However, I’m not able to successfully link to the
appropriate classes in jruby. Any help would be appreciated.

Thanks!
Jacques

Example below:


$ jruby -S irb
irb(main):001:0> include Java
=> Object
irb(main):002:0> require ‘typica.jar’
=> true
irb(main):003:0> sdb =
Java::ComXeroxAmazonawsSdb::SimpleDB.new(“1234”,“1234”)
NameError: cannot load Java class com.xerox.amazonaws.sdb.SimpleDB
from /opt/jruby/lib/ruby/1.8/irb/ruby-token.rb:102:in
const_missing' from (irb):4:inbinding’
from /opt/jruby/lib/ruby/1.8/irb/workspace.rb:53:in eval' from /opt/jruby/lib/ruby/1.8/irb/workspace.rb:81:inevaluate’
from /opt/jruby/lib/ruby/1.8/irb/context.rb:219:in evaluate' from /opt/jruby/lib/ruby/1.8/irb.rb:150:ineval_input’
from /opt/jruby/lib/ruby/1.8/irb.rb:259:in signal_status' from /opt/jruby/lib/ruby/1.8/irb.rb:147:ineval_input’
from /opt/jruby/lib/ruby/1.8/irb/ruby-lex.rb:244:in
each_top_level_statement' from /opt/jruby/lib/ruby/1.8/irb/ruby-lex.rb:230:inloop’
from /opt/jruby/lib/ruby/1.8/irb/ruby-lex.rb:230:in
each_top_level_statement' from /opt/jruby/lib/ruby/1.8/irb/ruby-lex.rb:229:incatch’
from /opt/jruby/lib/ruby/1.8/irb/ruby-lex.rb:229:in
each_top_level_statement' from /opt/jruby/lib/ruby/1.8/irb.rb:146:ineval_input’
from /opt/jruby/lib/ruby/1.8/irb.rb:70:in start' from /opt/jruby/lib/ruby/1.8/irb.rb:69:incatch’
from /opt/jruby/lib/ruby/1.8/irb.rb:69:in `start’
from /opt/jruby/bin/jirb:19Maybe IRB bug!!
irb(main):004:0>

Additional Information. If I use the Rightscale gem, I get Jruby
crashes at random times (usually after I haven’t used the connection for
a couple minutes). Stack trace I get when trying to use SimpleDB
connection (various commands seem to cause the same):

java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
at org.jruby.ext.openssl.SSLSocket.flushData(SSLSocket.java:271)
at org.jruby.ext.openssl.SSLSocket.write(SSLSocket.java:297)
at org.jruby.ext.openssl.SSLSocket.syswrite(SSLSocket.java:434)
at
org.jruby.ext.openssl.SSLSocket$i_method_1_0$RUBYINVOKER$syswrite.call(org/jruby/ext/openssl/SSLSocket$i_method_1_0$RUBYINVOKER$syswrite.gen)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:391)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:115)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:222)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:144)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:107)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:80)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.WhileNode.interpret(WhileNode.java:128)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.IfNode.interpret(IfNode.java:108)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:253)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:391)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:253)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:391)
at
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:115)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:253)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:391)
at
org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:190)
at org.jruby.runtime.Block.yield(Block.java:110)
at org.jruby.ast.YieldNode.interpret(YieldNode.java:95)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:232)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:371)
at
org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:31)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:253)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:391)
at
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:337)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:493)
at
org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.IfNode.interpret(IfNode.java:110)
at org.jruby.ast.IfNode.interpret(IfNode.java:110)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:190)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:289)
at
org.jruby.ast.CallManyArgsNode.interpret(CallManyArgsNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:274)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:403)
at
org.jruby.ast.CallOneArgBlockPassNode.interpret(CallOneArgBlockPassNode.java:60)
at org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:107)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:222)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:144)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:107)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:80)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:153)
at org.jruby.runtime.Block.yield(Block.java:105)
at org.jruby.RubyKernel.loop(RubyKernel.java:1039)
at
org.jruby.RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop.call(org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop.gen)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:371)
at
org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:31)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:253)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:391)
at
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:115)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:190)
at org.jruby.runtime.Block.yield(Block.java:110)
at org.jruby.ast.YieldNode.interpret(YieldNode.java:95)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:232)
at
org.jruby.internal.runtime.methods.WrapperMethod.call(WrapperMethod.java:74)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:352)
at
org.jruby.ast.CallNoArgBlockPassNode.interpret(CallNoArgBlockPassNode.java:52)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:115)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:232)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:352)
at
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:63)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.IfNode.interpret(IfNode.java:110)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:222)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:144)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:107)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:190)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:289)
at
org.jruby.ast.FCallManyArgsNode.interpret(FCallManyArgsNode.java:60)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:295)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:180)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:445)
at
org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:115)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:222)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:144)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:107)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:253)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:156)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:394)
at
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.RootNode.interpret(RootNode.java:126)
at
org.jruby.evaluator.ASTInterpreter.evalWithBinding(ASTInterpreter.java:123)
at org.jruby.RubyKernel.eval(RubyKernel.java:862)
at
org.jruby.RubyKernel$s_method_0_3$RUBYFRAMEDINVOKER$eval.call(org/jruby/RubyKernel$s_method_0_3$RUBYFRAMEDINVOKER$eval.gen)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:135)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:289)
at
ruby.jit.ruby.usr.lib.jruby.jruby_minus_1_dot_1_dot_4.lib.ruby.$1_dot_8.irb.workspace.evaluate14936307_13710544.file(workspace.rb:81)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:181)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:289)
at
ruby.jit.ruby.usr.lib.jruby.jruby_minus_1_dot_1_dot_4.lib.ruby.$1_dot_8.irb.context.evaluate20754891_13710544.file(context.rb:219)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:286)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:442)
at
org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:222)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:144)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:107)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:80)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:190)
at org.jruby.runtime.Block.yield(Block.java:110)
at
ruby.jit.ruby.usr.lib.jruby.jruby_minus_1_dot_1_dot_4.lib.ruby.$1_dot_8.irb.signal_status14712776_13710544.ensure_1$RUBY$ensure(irb.rb:259)
at
ruby.jit.ruby.usr.lib.jruby.jruby_minus_1_dot_1_dot_4.lib.ruby.$1_dot_8.irb.signal_status14712776_13710544.file(irb.rb:258)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:265)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:422)
at
org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:33)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:190)
at org.jruby.runtime.Block.yield(Block.java:110)
at org.jruby.ast.YieldNode.interpret(YieldNode.java:95)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.IfNode.interpret(IfNode.java:108)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:222)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:144)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:107)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:80)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:153)
at org.jruby.runtime.Block.yield(Block.java:105)
at org.jruby.RubyKernel.loop(RubyKernel.java:1039)
at
org.jruby.RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop.call(org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop.gen)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:144)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:374)
at
org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:31)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:153)
at org.jruby.runtime.Block.yield(Block.java:105)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:890)
at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.gen)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:168)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:425)
at
org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:33)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:232)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:144)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:355)
at
org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:63)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:132)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:343)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:153)
at org.jruby.runtime.Block.yield(Block.java:105)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:890)
at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.gen)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:168)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:425)
at
org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:33)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:253)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:156)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:394)
at
usr.lib.jruby.jruby_minus_1_dot_1_dot_4.bin.jirb.file(jirb:19)
at
usr.lib.jruby.jruby_minus_1_dot_1_dot_4.bin.jirb.file(jirb)
at usr.lib.jruby.jruby_minus_1_dot_1_dot_4.bin.jirb.load(jirb)
at org.jruby.Ruby.runScript(Ruby.java:544)
at org.jruby.Ruby.runNormally(Ruby.java:457)
at org.jruby.Ruby.runFromMain(Ruby.java:330)
at org.jruby.Main.run(Main.java:214)
at org.jruby.Main.run(Main.java:100)
at
org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:99)
at java.lang.Thread.run(Thread.java:619)