facing issue and getting below error
[2019-08-19T14:27:41,342][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java:
:JavaLang::NoSuchMethodError", :message=>"org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String;", :backtrace=>["org.logstash.execution.AbstractP
ipelineExt.initialize(AbstractPipelineExt.java:124)", "org.logstash.execution.AbstractPipelineExt$INVOKER$i$3$0$initialize.call(AbstractPipelineExt$INVOKER$i$3$0$in
itialize.gen)", "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodThree.call(JavaMethod.java:1186)", "org.jruby.internal.runtime.methods.JavaMethod$JavaMetho
dN.call(JavaMethod.java:743)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:983)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSupe
rSplatArgs(IRRuntimeHelpers.java:974)", "org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)", "C_3a_.Users.abhishek12_dot_jain.Doc
uments.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.pipeline.RUBY$method$initialize$0(C:/Users/abhishek1
2.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logstash-6.5.4/logstash-core/lib/logstash/pipeline.rb:22)", "org.jruby.internal.runtime.methods.Compiled
IRMethod.call(CompiledIRMethod.java:77)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)", "org.jruby.ir.runtime.IRRuntimeHel
pers.instanceSuper(IRRuntimeHelpers.java:983)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:974)", "org.jruby.ir.targets.Ins
tanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)", "C_3a_.Users.abhishek12_dot_jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_
6_dot_5_dot_4.logstash_minus_core.lib.logstash.pipeline.RUBY$method$initialize$0(C:/Users/abhishek12.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logst
ash-6.5.4/logstash-core/lib/logstash/pipeline.rb:90)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)", "org.jruby.internal.run
time.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)", "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)", "org.jruby.run
time.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)", "org.jruby.RubyClass.
newInstance(RubyClass.java:1022)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)", "org.jruby.ir.targets.InvokeSite.invoke(In
vokeSite.java:145)", "C_3a_.Users.abhishek12_dot_jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logs
tash.pipeline_action.create.RUBY$block$execute$1(C:/Users/abhishek12.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logstash-6.5.4/logstash-core/lib/logs
tash/pipeline_action/create.rb:42)", "org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:145)", "org.jruby.runtime.IRBlockBody.call(IRBlockBo
dy.java:71)", "org.jruby.runtime.Block.call(Block.java:124)", "org.jruby.RubyProc.call(RubyProc.java:289)", "org.jruby.RubyProc.call19(RubyProc.java:273)", "org.jru
by.RubyProc$INVOKER$i$0$0$call19.call(RubyProc$INVOKER$i$0$0$call19.gen)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)", "C_3a_.Users.abhishek12_do
t_jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.agent.RUBY$block$exclusive$1(C:/Users/abhi
shek12.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logstash-6.5.4/logstash-core/lib/logstash/agent.rb:92)", "org.jruby.runtime.CompiledIRBlockBody.yie
ldDirect(CompiledIRBlockBody.java:156)", "org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:80)", "org.jruby.runtime.Block.yieldSpecific(Block.java:134)"
, "org.jruby.ext.thread.Mutex.synchronize(Mutex.java:148)", "org.jruby.ext.thread.Mutex$INVOKER$i$0$0$synchronize.call(Mutex$INVOKER$i$0$0$synchronize.gen)", "org.j
ruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:498)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)", "C_3a_.Users
.abhishek12_dot_jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.agent.RUBY$method$exclusive$
0(C:/Users/abhishek12.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logstash-6.5.4/logstash-core/lib/logstash/agent.rb:92)", "C_3a_.Users.abhishek12_dot
jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.agent.RUBY$method$exclusive$0$ VARARGS (C
:/Users/abhishek12.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logstash-6.5.4/logstash-core/lib/logstash/agent.rb)", "org.jruby.internal.runtime.metho
ds.CompiledIRMethod.call(CompiledIRMethod.java:77)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)", "org.jruby.ir.targets.I
nvokeSite.invoke(InvokeSite.java:145)", "C_3a .Users.abhishek12_dot_jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_5_dot_4.logstash_
minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0(C:/Users/abhishek12.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logstash-6.5.4/lo
gstash-core/lib/logstash/pipeline_action/create.rb:38)", "C_3a_.Users.abhishek12_dot_jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_
5_dot_4.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0$ VARARGS (C:/Users/abhishek12.jain/Documents/ProjectData_JCP/Skill_Developme
nt/ELKSetup/logstash-6.5.4/logstash-core/lib/logstash/pipeline_action/create.rb)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:7
7)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)", "C_3a_.U
sers.abhishek12_dot_jain.Documents.ProjectData_JCP.Skill_Development.ELKSetup.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.agent.RUBY$block$converg
e_state$2(C:/Users/abhishek12.jain/Documents/ProjectData_JCP/Skill_Development/ELKSetup/logstash-6.5.4/logstash-core/lib/logstash/agent.rb:317)", "org.jruby.runtime
.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:145)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:71)", "org.jruby.runtime.Block.call(Block.java:
124)", "org.jruby.RubyProc.call(RubyProc.java:289)", "org.jruby.RubyProc.call(RubyProc.java:246)",
Please do not post the same question over and over again if nobody responds. It is OK to bump an unanswered question if nobody responds after a day.
The problem appears to be at this line of code. The digest method of a MethodDigest is documented as returning a byte array, but it has returned a String. That sounds like a broken Java implementation to me.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.