Running with java_execution: false resulted in the same error. Following is the "long" jruby error that I didn't want to post here. But, may be there's clue in there as per which method was causing problem. Could you take a look please:
[2020-07-21T14:55:45,315][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main,
:exception=>"Java::JavaLang::NoSuchMethodError",
:message=>"java.nio.MappedByteBuffer.position(I)Ljava/nio/MappedByteBuffer;",
:backtrace=>["org.logstash.ackedqueue.io.MmapPageIOV2.create(MmapPageIOV2.java:171)",
"org.logstash.ackedqueue.Queue.newCheckpointedHeadpage(Queue.java:315)",
"org.logstash.ackedqueue.Queue.open(Queue.java:166)",
"org.logstash.ackedqueue.ext.JRubyAckedQueueExt.open(JRubyAckedQueueExt.java:101)",
"org.logstash.ackedqueue.ext.JRubyWrappedAckedQueueExt.initialize(JRubyWrappedAckedQueueExt.java:42)",
"org.logstash.ackedqueue.QueueFactoryExt.create(QueueFactoryExt.java:39)",
"org.logstash.execution.AbstractPipelineExt.openQueue(AbstractPipelineExt.java:174)",
"org.logstash.execution.AbstractPipelineExt$INVOKER$i$0$0$openQueue.call(AbstractPipelineExt$INVOKER$i$0$0$openQueue.gen)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:354)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:143)",
"org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:345)",
"org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:105)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:92)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:86)",
"org.jruby.RubyClass.newInstance(RubyClass.java:915)",
"org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:86)",
"org.jruby.ir.instructions.CallBase.interpret(CallBase.java:540)",
"org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)",
"org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)",
"org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:92)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:204)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:191)",
"org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:208)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:396)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:205)",
"org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)",
"org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)",
"org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:114)",
"org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:151)",
"org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:79)",
"org.jruby.runtime.Block.call(Block.java:129)",
"org.jruby.RubyProc.call(RubyProc.java:295)",
"org.jruby.RubyProc.call(RubyProc.java:274)",
"org.jruby.RubyProc.call(RubyProc.java:270)",
"org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)", "java.lang.Thread.run(Thread.java:748)"]}