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

9.0.0.0-pre1: NoSuchMethodError in pg_jruby gem #2559

Closed
tmornini opened this Issue Feb 4, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@tmornini

tmornini commented Feb 4, 2015

App runs fine on 1.7.19

{
  :exception => "Java::JavaLang::NoSuchMethodError",
  :message   => "org.jruby.RubyEncoding.getDefaultInternal(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;",
  :backtrace => [
    [  0] "org.jruby.pg.Connection.set_default_encoding(Connection.java:1231)",
    [  1] "org.jruby.pg.Connection.connectSync(Connection.java:576)",
    [  2] "org.jruby.pg.Connection.initialize(Connection.java:398)",
    [  3] "org.jruby.pg.Connection$INVOKER$i$0$0$initialize.call(Connection$INVOKER$i$0$0$initialize.gen)",
    [  4] "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:691)",
    [  5] "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)",
    [  6] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:78)",
    [  7] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [  8] "org.jruby.RubyClass.newInstance(RubyClass.java:869)",
    [  9] "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)",
    [ 10] "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)",
    [ 11] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:78)",
    [ 12] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [ 13] "org.jruby.ir.instructions.CallBase.interpret(CallBase.java:388)",
    [ 14] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:324)",
    [ 15] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 16] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 17] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [ 18] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [ 19] "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)",
    [ 20] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)",
    [ 21] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [ 22] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 23] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 24] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:132)",
    [ 25] "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)",
    [ 26] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:140)",
    [ 27] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:144)",
    [ 28] "org.jruby.RubyClass.newInstance(RubyClass.java:841)",
    [ 29] "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)",
    [ 30] "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:294)",
    [ 31] "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)",
    [ 32] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:130)",
    [ 33] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:308)",
    [ 34] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 35] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 36] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [ 37] "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)",
    [ 38] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:172)",
    [ 39] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:176)",
    [ 40] "org.jruby.RubyClass.newInstance(RubyClass.java:848)",
    [ 41] "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)",
    [ 42] "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:311)",
    [ 43] "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)",
    [ 44] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:162)",
    [ 45] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [ 46] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 47] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 48] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:132)",
    [ 49] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:138)",
    [ 50] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:144)",
    [ 51] "org.jruby.RubyClass.newInstance(RubyClass.java:841)",
    [ 52] "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)",
    [ 53] "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:294)",
    [ 54] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:128)",
    [ 55] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:308)",
    [ 56] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 57] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 58] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:117)",
    [ 59] "org.jruby.RubyClass.finvoke(RubyClass.java:541)",
    [ 60] "org.jruby.RubyBasicObject.send19(RubyBasicObject.java:1634)",
    [ 61] "org.jruby.RubyKernel.send19(RubyKernel.java:2000)",
    [ 62] "org.jruby.RubyKernel$INVOKER$s$send19.call(RubyKernel$INVOKER$s$send19.gen)",
    [ 63] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:76)",
    [ 64] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [ 65] "org.jruby.ir.instructions.CallBase.interpret(CallBase.java:388)",
    [ 66] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:324)",
    [ 67] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 68] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 69] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [ 70] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [ 71] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:160)",
    [ 72] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [ 73] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 74] "org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:639)",
    [ 75] "org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)",
    [ 76] "org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:84)",
    [ 77] "org.jruby.runtime.Block.yieldSpecific(Block.java:116)",
    [ 78] "org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:450)",
    [ 79] "org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:58)",
    [ 80] "org.jruby.ir.interpreter.Interpreter.processOtherOp(Interpreter.java:497)",
    [ 81] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:573)",
    [ 82] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 83] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:117)",
    [ 84] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:76)",
    [ 85] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [ 86] "org.jruby.ir.instructions.CallBase.interpret(CallBase.java:388)",
    [ 87] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:324)",
    [ 88] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 89] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 90] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [ 91] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [ 92] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:160)",
    [ 93] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [ 94] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [ 95] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [ 96] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [ 97] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [ 98] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:160)",
    [ 99] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [100] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [101] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [102] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [103] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [104] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:160)",
    [105] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [106] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [107] "org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:639)",
    [108] "org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)",
    [109] "org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:84)",
    [110] "org.jruby.runtime.Block.yieldSpecific(Block.java:116)",
    [111] "org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:450)",
    [112] "org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:58)",
    [113] "org.jruby.ir.interpreter.Interpreter.processOtherOp(Interpreter.java:497)",
    [114] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:573)",
    [115] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [116] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:117)",
    [117] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:76)",
    [118] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [119] "org.jruby.ir.instructions.CallBase.interpret(CallBase.java:388)",
    [120] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:324)",
    [121] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [122] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [123] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [124] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [125] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:160)",
    [126] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [127] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [128] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [129] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [130] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [131] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:160)",
    [132] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [133] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [134] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [135] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:147)",
    [136] "org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)",
    [137] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:160)",
    [138] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:292)",
    [139] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [140] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [141] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:117)",
    [142] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:76)",
    [143] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [144] "org.jruby.ir.instructions.CallBase.interpret(CallBase.java:388)",
    [145] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:324)",
    [146] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [147] "org.jruby.ir.interpreter.Interpreter.INTERPRET_METHOD(Interpreter.java:654)",
    [148] "org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:117)",
    [149] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:76)",
    [150] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [151] "org.jruby.ir.instructions.CallBase.interpret(CallBase.java:388)",
    [152] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:324)",
    [153] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [154] "org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:639)",
    [155] "org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)",
    [156] "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:75)",
    [157] "org.jruby.runtime.Block.call(Block.java:106)",
    [158] "org.jruby.RubyProc.call(RubyProc.java:305)",
    [159] "org.jruby.RubyProc.call19(RubyProc.java:289)",
    [160] "org.jruby.RubyProc$INVOKER$i$0$0$call19.call(RubyProc$INVOKER$i$0$0$call19.gen)",
    [161] "org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:76)",
    [162] "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)",
    [163] "org.jruby.ir.instructions.CallBase.interpret(CallBase.java:388)",
    [164] "org.jruby.ir.interpreter.Interpreter.processCall(Interpreter.java:320)",
    [165] "org.jruby.ir.interpreter.Interpreter.interpret(Interpreter.java:551)",
    [166] "org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:639)",
    [167] "org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:74)",
    [168] "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:75)",
    [169] "org.jruby.runtime.Block.call(Block.java:106)",
    [170] "org.jruby.RubyProc.call(RubyProc.java:305)",
    [171] "org.jruby.RubyProc.call(RubyProc.java:232)",
    [172] "org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:99)",
    [173] "java.lang.Thread.run(Thread.java:745)"
  ]
}

@tmornini tmornini changed the title from NoSuchMethodError in pg_jruby gem to 9.0.0.0-pre1: NoSuchMethodError in pg_jruby gem Feb 4, 2015

@subbuss subbuss added the JRuby 9000 label Feb 15, 2015

@enebo enebo closed this in 755519e Jul 15, 2015

@enebo enebo added this to the JRuby 9.0.0.0 milestone Jul 15, 2015

@enebo

This comment has been minimized.

Show comment
Hide comment
@enebo

enebo Jul 15, 2015

Member

This has already been fixed in repo for pg_jruby but there has not been a release in a long time so I just added back this signature so older versions will continue to work.

Member

enebo commented Jul 15, 2015

This has already been fixed in repo for pg_jruby but there has not been a release in a long time so I just added back this signature so older versions will continue to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment