-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Rails 5.0.7.2 app (big, old) running under JRuby 9.3.10.0 (that was just upgraded from Rails 4, JRuby 9.1.17.0) under Tomcat 7.0.100, jre-windows-x64:8.0.252.09, started failing with the following cryptic trace:
[2023-05-25 17:10:23][#<Thread:0x57ce850d>][FATAL] [API] Unhandled Java::JavaLang::NullPointerException:
org.jruby.runtime.scopes.DynamicScope1.setValueVoid(Unknown Source)
org.jruby.runtime.scopes.DynamicScope4.setValueVoid(Unknown Source)
org.jruby.runtime.scopes.DynamicScope0.setValueVoid(Unknown Source)
org.jruby.runtime.scopes.DynamicScope1.setValueVoid(Unknown Source)
org.jruby.ir.interpreter.InterpreterEngine.setResult(InterpreterEngine.java:569)
org.jruby.ir.interpreter.InterpreterEngine.receiveArg(InterpreterEngine.java:273)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:68)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:177)
org.jruby.runtime.BlockBody.yield(BlockBody.java:116)
org.jruby.runtime.Block.yieldNonArray(Block.java:224)
org.jruby.RubyArray.collectArray(RubyArray.java:2633)
org.jruby.RubyArray.rbCollect(RubyArray.java:2662)
org.jruby.RubyArray$INVOKER$i$0$0$rbCollect.call(RubyArray$INVOKER$i$0$0$rbCollect.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:560)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:329)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:94)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:546)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136)
org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:170)
org.jruby.runtime.BlockBody.yield(BlockBody.java:108)
org.jruby.runtime.Block.yield(Block.java:188)
org.jruby.RubyArithmeticSequence.each(RubyArithmeticSequence.java:155)
org.jruby.RubyArithmeticSequence$INVOKER$i$0$0$each.call(RubyArithmeticSequence$INVOKER$i$0$0$each.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:560)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:85)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:94)
org.jruby.ir.instructions.CallBase.interpret(CallBase.java:546)
org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136)
org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:76)
org.jruby.runtime.Block.yieldSpecific(Block.java:157)
org.jruby.ir.targets.indy.YieldSite.yieldSpecific(YieldSite.java:161)
C_3a_.Program_20_Files_20_28_x86_29_.Acme.Acme_20_Files.Access_20_Server.Web_20_Application.WEB_minus_INF.gems.gems.activerecord_minus_5_dot_0_dot_7_dot_2.lib.active_record.connection_adapters.abstract.database_statements.RUBY$block$transaction$1(C:/Program Files (x86)/Acme/Acme Files/Access Server/Web Application/WEB-INF/gems/gems/activerecord-5.0.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:233)
C_3a_.Program_20_Files_20_28_x86_29_.Acme.Acme_20_Files.Access_20_Server.Web_20_Application.WEB_minus_INF.gems.gems.activerecord_minus_5_dot_0_dot_7_dot_2.lib.active_record.connection_adapters.abstract.transaction.RUBY$method$within_new_transaction$0(C:/Program Files (x86)/Acme/Acme Files/Access Server/Web Application/WEB-INF/gems/gems/activerecord-5.0.7.2/lib/active_record/connection_adapters/abstract/transaction.rb:190)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:139)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:162)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:185)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:183)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:192)
C_3a_.Program_20_Files_20_28_x86_29_.Acme.Acme_20_Files.Access_20_Server.Web_20_Application.WEB_minus_INF.gems.gems.activerecord_minus_5_dot_0_dot_7_dot_2.lib.active_record.connection_adapters.abstract.database_statements.invokeOther5:within_new_transaction(C:/Program Files (x86)/Acme/Acme Files/Access Server/Web Application/WEB-INF/gems/gems/activerecord-5.0.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:233)
C_3a_.Program_20_Files_20_28_x86_29_.Acme.Acme_20_Files.Access_20_Server.Web_20_Application.WEB_minus_INF.gems.gems.activerecord_minus_5_dot_0_dot_7_dot_2.lib.active_record.connection_adapters.abstract.database_statements.RUBY$method$transaction$0(C:/Program Files (x86)/Acme/Acme Files/Access Server/Web Application/WEB-INF/gems/gems/activerecord-5.0.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:233)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:139)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:162)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:185)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:183)
C_3a_.Program_20_Files_20_28_x86_29_.Acme.Acme_20_Files.Access_20_Server.Web_20_Application.WEB_minus_INF.gems.gems.activerecord_minus_5_dot_0_dot_7_dot_2.lib.active_record.transactions.invokeOther1:transaction(C:/Program Files (x86)/Acme/Acme Files/Access Server/Web Application/WEB-INF/gems/gems/activerecord-5.0.7.2/lib/active_record/transactions.rb:212)
C_3a_.Program_20_Files_20_28_x86_29_.Acme.Acme_20_Files.Access_20_Server.Web_20_Application.WEB_minus_INF.gems.gems.activerecord_minus_5_dot_0_dot_7_dot_2.lib.active_record.transactions.RUBY$method$transaction$0(C:/Program Files (x86)/Acme/Acme Files/Access Server/Web Application/WEB-INF/gems/gems/activerecord-5.0.7.2/lib/active_record/transactions.rb:212)
Any hints on how to investigate this? From quick googling I thought I should try turning off compilation (the app is packaged with some half-baked warbler fork from GitHub which worked for Bundler 2) and playing with invokedynamic but other than that I'm completely lost, help please :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels