Logstash conf error - NoSuchMethodError for PipelineAction::Create

[2020-02-04T12:55:48,340][DEBUG][logstash.runner          ] xpack.monitoring.elasticsearch.hosts: ["http://localhost:9200"]
   [2020-02-04T12:55:48,341][DEBUG][logstash.runner          ] xpack.monitoring.collection.interval: 10000000000
   [2020-02-04T12:55:48,341][DEBUG][logstash.runner          ] xpack.monitoring.collection.timeout_interval: 600000000000
   [2020-02-04T12:55:48,341][DEBUG][logstash.runner          ] xpack.monitoring.elasticsearch.username: "logstash_system"
   [2020-02-04T12:55:48,342][DEBUG][logstash.runner          ] xpack.monitoring.elasticsearch.ssl.verification_mode: "certificate"
   [2020-02-04T12:55:48,342][DEBUG][logstash.runner          ] xpack.monitoring.elasticsearch.sniffing: false
   [2020-02-04T12:55:48,342][DEBUG][logstash.runner          ] xpack.monitoring.collection.pipeline.details.enabled: true
   [2020-02-04T12:55:48,343][DEBUG][logstash.runner          ] xpack.monitoring.collection.config.enabled: true
   [2020-02-04T12:55:48,343][DEBUG][logstash.runner          ] node.uuid: ""
   [2020-02-04T12:55:48,343][DEBUG][logstash.runner          ]
    --------------- Logstash Settings -------------------
   [2020-02-04T12:55:48,384][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
   [2020-02-04T12:55:48,400][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=>"7.1.1"}
   [2020-02-04T12:55:48,442][DEBUG][logstash.agent           ] Setting up metric collection
   [2020-02-04T12:55:48,509][DEBUG][logstash.instrument.periodicpoller.os] Starting {:polling_interval=>5, :polling_timeout=>120}
   [2020-02-04T12:55:48,519][DEBUG][logstash.instrument.periodicpoller.cgroup] One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu
   [2020-02-04T12:55:48,668][DEBUG][logstash.instrument.periodicpoller.jvm] Starting {:polling_interval=>5, :polling_timeout=>120}
   [2020-02-04T12:55:48,793][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
   [2020-02-04T12:55:48,799][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
   [2020-02-04T12:55:48,813][DEBUG][logstash.instrument.periodicpoller.persistentqueue] Starting {:polling_interval=>5, :polling_timeout=>120}
   [2020-02-04T12:55:48,823][DEBUG][logstash.instrument.periodicpoller.deadletterqueue] Starting {:polling_interval=>5, :polling_timeout=>120}
   [2020-02-04T12:55:48,876][DEBUG][logstash.agent           ] Starting agent
   [2020-02-04T12:55:48,929][DEBUG][logstash.config.source.local.configpathloader]
   Skipping the following files while reading config since they don't match the specified glob pattern {:files=>["e:/logstash-7.1.1/bin/benchmark.sh", "e:/logstash-7.1.1/bin/cpdump", "e:/logstash-7.1.1/bin/dependencies-report", "e:/logstash-7.1.1/bin/ingest-convert.sh", "e:/logstash-7.1.1/bin/logstash", "e:/logstash-7.1.1/bin/logstash-keystore", "e:/logstash-7.1.1/bin/logstash-keystore.bat", "e:/logstash-7.1.1/bin/logstash-plugin", "e:/logstash-7.1.1/bin/logstash-plugin.bat", "e:/logstash-7.1.1/bin/logstash.bat", "e:/logstash-7.1.1/bin/logstash.lib.sh", "e:/logstash-7.1.1/bin/pqcheck", "e:/logstash-7.1.1/bin/pqrepair", "e:/logstash-7.1.1/bin/ruby", "e:/logstash-7.1.1/bin/setup.bat", "e:/logstash-7.1.1/bin/system-install", "e:/logstash-7.1.1/bin/test.conf"]}
   [2020-02-04T12:55:48,933][DEBUG][logstash.config.source.local.configpathloader] Reading config file {:config_file=>"e:/logstash-7.1.1/bin/ncv.conf"}
   [2020-02-04T12:55:48,980][DEBUG][logstash.agent           ] Converging pipelines state {:actions_count=>1}
   [2020-02-04T12:55:48,990][DEBUG][logstash.agent           ] Executing action {:action=>LogStash::PipelineAction::Create/pipeline_id:main}
   [2020-02-04T12:55:49,745][ERROR][logstash.agent           ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java::JavaLang::NoSuchMethodError", :message=>"com.google.common.collect.Sets$SetView.iterator()Lcom/google/common/collect/UnmodifiableIterator;", :backtrace=>["org.logstash.plugins.discovery.Reflections.expandSuperTypes(Reflections.java:114)", "org.logstash.plugins.discovery.Reflections.<init>(Reflections.java:36)", "org.logstash.plugins.discovery.Reflections.<init>(Reflections.java:46)", "org.logstash.plugins.discovery.Reflections.<init>(Reflections.java:42)", "org.logstash.plugins.discovery.PluginRegistry.discoverPlugins(PluginRegistry.java:36)", "org.logstash.plugins.discovery.PluginRegistry.<clinit>(PluginRegistry.java:29)", "org.logstash.plugins.PluginLookup.lookup(PluginLookup.java:27)", "org.logstash.plugins.PluginFactoryExt$Plugins.plugin(PluginFactoryExt.java:200)", "org.logstash.plugins.PluginFactoryExt$Plugins.buildInput(PluginFactoryExt.java:117)", "org.logstash.config.ir.CompiledPipeline.lambda$setupInputs$1(CompiledPipeline.java:150)", "java.util.ArrayList.forEach(ArrayList.java:1249)", "org.logstash.config.ir.CompiledPipeline.setupInputs(CompiledPipeline.java:147)", "org.logstash.config.ir.CompiledPipeline.<init>(CompiledPipeline.java:80)", "org.logstash.execution.JavaBasePipelineExt.initialize(JavaBasePipelineExt.java:50)", "org.logstash.execution.JavaBasePipelineExt$INVOKER$i$1$0$initialize.call(JavaBasePipelineExt$INVOKER$i$1$0$initialize.gen)", "org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1154)", "org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:1141)", "org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)", "E_3a_.logstash_minus_7_dot_1_dot_1.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$initialize$0(E:/logstash-7.1.1/logstash-core/lib/logstash/java_pipeline.rb:23)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:91)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:90)", "org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:296)", "org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:82)", "org.jruby.RubyClass.newInstance(RubyClass.java:915)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)", "E_3a_.logstash_minus_7_dot_1_dot_1.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0(E:/logstash-7.1.1/logstash-core/lib/logstash/pipeline_action/create.rb:36)", "E_3a_.logstash_minus_7_dot_1_dot_1.logstash_minus_core.lib.logstash.pipeline_action.create.RUBY$method$execute$0$__VARARGS__(E:/logstash-7.1.1/logstash-core/lib/logstash/pipeline_action/create.rb)", "org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:91)", "org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:90)", "org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)", "E_3a_.logstash_minus_7_dot_1_dot_1.logstash_minus_core.lib.logstash.agent.RUBY$block$converge_state$2(E:/logstash-7.1.1/logstash-core/lib/logstash/agent.rb:325)", "org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:136)", "org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:77)", "org.jruby.runtime.Block.call(Block.java:124)", "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:745)"]}warning: thread "Converge PipelineAction::Create<main>" terminated with exception (report_on_exception is true):LogStash::Error: Don't know how to handle `Java::JavaLang::NoSuchMethodError` for `PipelineAction::Create<main>`          create at org/logstash/execution/ConvergeResultExt.java:109             add at org/logstash/execution/ConvergeResultExt.java:37  converge_state at E:/logstash-7.1.1/logstash-core/lib/logstash/agent.rb:338
   [2020-02-04T12:55:49,764][ERROR][logstash.agent           ] An exception happened when converging configuration {:exception=>LogStash::Error, :message=>"Don't now how to handle `Java::JavaLang::NoSuchMethodError` for `PipelineAction::Create<main>`", :backtrace=>["org/logstash/execution/ConvergeResultExt.java:109:in create'", "org/logstash/execution/ConvergeResultExt.java:37:in `add'", "E:/logstash-7.1.1/logstash-core/lib/logstash/agent.rb:338:in `block in converge_state'"]}

   [2020-02-04T12:55:49,789][DEBUG][logstash.agent           ] Starting puma
   [2020-02-04T12:55:49,800][DEBUG][logstash.agent           ] Trying to start WebServer {:port=>9600}
   [2020-02-04T12:55:49,806][FATAL][logstash.runner          ] An unexpected erroroccurred! {:error=>#<LogStash::Error: Don't know how to handle `Java::JavaLang::NoSuchMethodError` for `PipelineAction::Create<main>`>, :backtrace=>["org/logstash/execution/ConvergeResultExt.java:109:in `create'", "org/logstash/execution/ConvergeResultExt.java:37:in `add'", "E:/logstash-7.1.1/logstash-core/lib/logstash/agent.rb:338:in `block in converge_state'"]}
   [2020-02-04T12:55:49,866][DEBUG][logstash.api.service     ] [api-service] start
   [2020-02-04T12:55:49,881][ERROR][org.logstash.Logstash    ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

   E:\logstash-7.1.1\bin>