Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure when loading a Sinatra page Java::JavaLang::NoSuchMethodError #3894

Closed
bigsur0 opened this issue May 17, 2016 · 7 comments
Closed

Failure when loading a Sinatra page Java::JavaLang::NoSuchMethodError #3894

bigsur0 opened this issue May 17, 2016 · 7 comments

Comments

@bigsur0
Copy link
Contributor

bigsur0 commented May 17, 2016

Environment

jruby-9.0.5.0
Linux + Mac

Other relevant info you may wish to add:
Sinatra running w/ RACK_ENV=production

Expected Behavior

No error should be raised.

Actual Behavior

Java::JavaLang::NoSuchMethodError at /
org.jcodings.Encoding.isUTF8()Z
file: org.jruby.util.StringSupport.dumpCommon(StringSupport.java location: nil line: 774

@headius headius added this to the JRuby 9.1.0.0 milestone May 17, 2016
@headius
Copy link
Member

headius commented May 17, 2016

This is almost certainly fixed in 9.1.

I'm really surprised to see it happen even in 9.0.5.0. There must be something wrong with that build; this code would not have compiled if that method were missing.

Please update to 9.1 and let us know that it fixed the problem.

@headius headius closed this as completed May 17, 2016
@bigsur0
Copy link
Contributor Author

bigsur0 commented May 18, 2016

@headius is this stack trace helpful? It is from the 9.0.5.0 upgrade that we are attempting. We aren't able to move to 9.1 at the moment and need 9.0.5.0 to get some SSL fixes.

2016-05-17 19:33:55 - Java::JavaLang::NoSuchMethodError - org.jcodings.Encoding.isUTF8()Z:
    org.jruby.util.StringSupport.dumpCommon(StringSupport.java:774)
    org.jruby.RubyString.dump19(RubyString.java:1833)
    org.jruby.RubyString$INVOKER$i$0$0$dump19.call(RubyString$INVOKER$i$0$0$dump19.gen)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:129)
    uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.erb.invokeOther13:dump(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/erb.rb)
    uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.erb.RUBY$method$content_dump$0(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/erb.rb:583)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.erb.invokeOther2:content_dump(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/erb.rb)
    uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.erb.RUBY$method$add_put_cmd$0(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/erb.rb:588)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:124)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:179)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:96)
    org.jruby.runtime.Block.yield(Block.java:166)
    org.jruby.ir.runtime.IRRuntimeHelpers.yield(IRRuntimeHelpers.java:476)
    org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:76)
    org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:191)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:115)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:179)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:96)
    org.jruby.runtime.Block.yield(Block.java:166)
    org.jruby.RubyArray.each(RubyArray.java:1560)
    org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
    org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:494)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:100)
    org.jruby.runtime.Block.yieldSpecific(Block.java:144)
    org.jruby.RubyString.scan19(RubyString.java:3629)
    org.jruby.RubyString$INVOKER$i$1$0$scan19.call(RubyString$INVOKER$i$1$0$scan19.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:210)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:196)
    org.jruby.RubyMethod.call(RubyMethod.java:115)
    org.jruby.RubyMethod$INVOKER$i$call.call(RubyMethod$INVOKER$i$call.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:210)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:196)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.RubyClass.newInstance(RubyClass.java:891)
    org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:80)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:175)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:161)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:189)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:129)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.RubyClass.newInstance(RubyClass.java:891)
    org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:77)
    org.jruby.runtime.Block.yieldSpecific(Block.java:135)
    org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:480)
    org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:73)
    org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:191)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:115)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:101)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:101)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:179)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:96)
    org.jruby.runtime.Block.yield(Block.java:166)
    org.jruby.RubyContinuation.enter(RubyContinuation.java:107)
    org.jruby.RubyKernel.rbCatch19Common(RubyKernel.java:1103)
    org.jruby.RubyKernel.rbCatch19(RubyKernel.java:1096)
    org.jruby.RubyKernel$INVOKER$s$rbCatch19.call(RubyKernel$INVOKER$s$rbCatch19.gen)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:101)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:101)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:140)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:126)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
    org.jruby.runtime.Block.call(Block.java:125)
    org.jruby.RubyProc.call(RubyProc.java:334)
    org.jruby.internal.runtime.methods.ProcMethod.call(ProcMethod.java:63)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:193)
    org.jruby.RubyMethod.call(RubyMethod.java:111)
    org.jruby.RubyMethod$INVOKER$i$call.call(RubyMethod$INVOKER$i$call.gen)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:189)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:129)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
    org.jruby.runtime.Block.call(Block.java:125)
    org.jruby.RubyProc.call(RubyProc.java:334)
    org.jruby.RubyProc.call19(RubyProc.java:318)
    org.jruby.RubyProc$INVOKER$i$0$0$call19.call(RubyProc$INVOKER$i$0$0$call19.gen)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:171)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:67)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther0:\=\{\}(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$route!$3(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:975)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:73)
    org.jruby.runtime.Block.yieldSpecific(Block.java:135)
    org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:480)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$route_eval$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:994)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:116)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:159)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther7:route_eval(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$route!$2(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:975)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:102)
    org.jruby.runtime.Block.yieldArray(Block.java:179)
    org.jruby.ir.runtime.IRRuntimeHelpers.yield(IRRuntimeHelpers.java:476)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$process_route$3(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:94)
    org.jruby.runtime.Block.yield(Block.java:166)
    org.jruby.RubyContinuation.enter(RubyContinuation.java:107)
    org.jruby.RubyKernel.rbCatch19Common(RubyKernel.java:1103)
    org.jruby.RubyKernel.rbCatch19(RubyKernel.java:1096)
    org.jruby.RubyKernel$INVOKER$s$rbCatch19.call(RubyKernel$INVOKER$s$rbCatch19.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther42:catch(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$process_route$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:159)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:264)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:235)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:241)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther9:process_route(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$route!$1(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:973)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:94)
    org.jruby.runtime.Block.yield(Block.java:166)
    org.jruby.RubyArray.each(RubyArray.java:1560)
    org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:303)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther16:each(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$route!$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:972)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:112)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:159)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:189)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:129)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther55:route!(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$dispatch!$9(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:73)
    org.jruby.runtime.Block.yieldSpecific(Block.java:135)
    org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:480)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$invoke$2(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:94)
    org.jruby.runtime.Block.yield(Block.java:166)
    org.jruby.RubyContinuation.enter(RubyContinuation.java:107)
    org.jruby.RubyKernel.rbCatch19Common(RubyKernel.java:1103)
    org.jruby.RubyKernel.rbCatch19(RubyKernel.java:1096)
    org.jruby.RubyKernel$INVOKER$s$rbCatch19.call(RubyKernel$INVOKER$s$rbCatch19.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther19:catch(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$invoke$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:116)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:159)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther62:invoke(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$dispatch!$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:116)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:159)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:189)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:129)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther46:dispatch!(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$call!$3(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:907)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:73)
    org.jruby.runtime.Block.yieldSpecific(Block.java:135)
    org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:480)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$invoke$2(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.BlockBody.yield(BlockBody.java:94)
    org.jruby.runtime.Block.yield(Block.java:166)
    org.jruby.RubyContinuation.enter(RubyContinuation.java:107)
    org.jruby.RubyKernel.rbCatch19Common(RubyKernel.java:1103)
    org.jruby.RubyKernel.rbCatch19(RubyKernel.java:1096)
    org.jruby.RubyKernel$INVOKER$s$rbCatch19.call(RubyKernel$INVOKER$s$rbCatch19.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther19:catch(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$invoke$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:116)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:159)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther69:invoke(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$call!$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:907)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther3:call!(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$call$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:895)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.xss_header.invokeOther19:call(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.xss_header.RUBY$method$call$0(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.path_traversal.invokeOther18:call(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.path_traversal.RUBY$method$call$0(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.json_csrf.invokeOther11:call(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.json_csrf.RUBY$method$call$0(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.base.invokeOther9:call(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/base.rb)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.base.RUBY$method$call$0(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.base.invokeOther9:call(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/base.rb)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.base.RUBY$method$call$0(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.frame_options.invokeOther8:call(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb)
    uri_3a_classloader_3a_.gems.rack_minus_protection_minus_1_dot_5_dot_3.lib.rack.protection.frame_options.RUBY$method$call$0(uri:classloader:/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.rack_minus_1_dot_6_dot_4.lib.rack.logger.invokeOther19:call(uri:classloader:/gems/rack-1.6.4/lib/rack/logger.rb)
    uri_3a_classloader_3a_.gems.rack_minus_1_dot_6_dot_4.lib.rack.logger.RUBY$method$call$0(uri:classloader:/gems/rack-1.6.4/lib/rack/logger.rb:15)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.rack_minus_1_dot_6_dot_4.lib.rack.commonlogger.invokeOther11:call(uri:classloader:/gems/rack-1.6.4/lib/rack/commonlogger.rb)
    uri_3a_classloader_3a_.gems.rack_minus_1_dot_6_dot_4.lib.rack.commonlogger.RUBY$method$call$0(uri:classloader:/gems/rack-1.6.4/lib/rack/commonlogger.rb:33)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther2:call_without_check(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$call$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:219)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:124)
    org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:927)
    org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:920)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeSuper9:call(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$call$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:212)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.rack_minus_1_dot_6_dot_4.lib.rack.head.invokeOther14:call(uri:classloader:/gems/rack-1.6.4/lib/rack/head.rb)
    uri_3a_classloader_3a_.gems.rack_minus_1_dot_6_dot_4.lib.rack.head.RUBY$method$call$0(uri:classloader:/gems/rack-1.6.4/lib/rack/head.rb:13)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.show_exceptions.invokeOther20:call(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.show_exceptions.RUBY$method$call$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther13:call(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$call$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:182)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther3:call(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$call$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther5:call(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$block$call$2(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487)
    org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:140)
    org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:73)
    org.jruby.runtime.Block.yieldSpecific(Block.java:135)
    org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:480)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$synchronize$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:116)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:159)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.invokeOther7:synchronize(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb)
    uri_3a_classloader_3a_.gems.sinatra_minus_1_dot_4_dot_7.lib.sinatra.base.RUBY$method$call$0(uri:classloader:/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.puma_minus_3_dot_4_dot_0_minus_java.lib.puma.configuration.invokeOther9:call(uri:classloader:/gems/puma-3.4.0-java/lib/puma/configuration.rb)
    uri_3a_classloader_3a_.gems.puma_minus_3_dot_4_dot_0_minus_java.lib.puma.configuration.RUBY$method$call$0(uri:classloader:/gems/puma-3.4.0-java/lib/puma/configuration.rb:224)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:131)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:194)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)
    uri_3a_classloader_3a_.gems.puma_minus_3_dot_4_dot_0_minus_java.lib.puma.server.invokeOther239:call(uri:classloader:/gems/puma-3.4.0-java/lib/puma/server.rb)
    uri_3a_classloader_3a_.gems.puma_minus_3_dot_4_dot_0_minus_java.lib.puma.server.RUBY$method$handle_request$0(uri:classloader:/gems/puma-3.4.0-java/lib/puma/server.rb:569)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:146)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:229)
    org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:193)
    uri_3a_classloader_3a_.gems.puma_minus_3_dot_4_dot_0_minus_java.lib.puma.server.invokeOther3:handle_request(uri:classloader:/gems/puma-3.4.0-java/lib/puma/server.rb)
    uri_3a_classloader_3a_.gems.puma_minus_3_dot_4_dot_0_minus_java.lib.puma.server.RUBY$method$process_client$0(uri:classloader:/gems/puma-3.4.0-java/lib/puma/server.rb:406)
    org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:101)
    org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:124)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
    org.jruby.runtime.Block.call(Block.java:125)
    org.jruby.RubyProc.call(RubyProc.java:334)
    org.jruby.RubyProc.call19(RubyProc.java:318)
    org.jruby.RubyProc$INVOKER$i$0$0$call19.call(RubyProc$INVOKER$i$0$0$call19.gen)
    org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    org.jruby.ir.instructions.CallBase.interpret(CallBase.java:414)
    org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:348)
    org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
    org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
    org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
    org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
    org.jruby.runtime.Block.call(Block.java:125)
    org.jruby.RubyProc.call(RubyProc.java:334)
    org.jruby.RubyProc.call(RubyProc.java:240)
    org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:99)
    java.lang.Thread.run(Thread.java:745)

@headius
Copy link
Member

headius commented May 18, 2016

@r6p That isUTF8 method comes from our jruby/jcodings library. If I look at the 9.0.5.0 tag, I see the line of code in JRuby does indeed call this method, and it's using version 1.0.17 of jcodings. And the jcodings-1.0.17 tag points at the commit that added this method.

You must have another version of jcodings getting into your system, either from an old/stale JRuby, or via some other mechanism (maven oddity?) How are you getting JRuby and how are you packaging this application?

There's also a small chance one of our published artifacts did not ship jcodings 1.0.17 but that seems really unlikely.

@bigsur0
Copy link
Contributor Author

bigsur0 commented May 19, 2016

That method is there (see below) for proof. It must be a dependency conflict on our side some how. I'll dig in further and report back. For the record, we are packaging our app in a single jar including jruby-complete and all the gems we need.

cmd: java -Xmx500m -Xss1024k -jar jruby-complete-9.0.5.0.jar -e 'load "META-INF/jruby.home/bin/jirb"'
>> org.jruby.util.ByteList.new
=> #<Java::OrgJrubyUtil::ByteList:0x439e3cb4>
>> _.getEncoding
=> #<Java::OrgJcodingsSpecific::ASCIIEncoding:0x36c281ed>
>> _.isUTF8
=> false

@bigsur0
Copy link
Contributor Author

bigsur0 commented May 19, 2016

Yup, it looks like there is a jar conflict, we have a transitive dependency on org.jruby.jcodings:jcodings:jar:1.0.8 via another jar, jar:org.apache.hbase:hbase-client:jar:1.0.0, that is included on the classpath. Do you have a suggestion on the best way to handle this?

@mkristian
Copy link
Member

@r6p you need to exclude the jcodings or use the org.jruby:jruby artifact which might already negotiate the right version or pick org.jruby.jcodings:jcodings:jar:1.0.17 manually

@bigsur0
Copy link
Contributor Author

bigsur0 commented May 21, 2016

Prepended jruby-complete as the first jar in the Class-Path entry of the manifest of our executable jar file and things started working. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants