I've recently been running into an error when starting logstash. We have several pipelines configured and all will start up without a problem, except for one (not always the same one and there is not a problem every time). The error message is
Pipeline aborted due to error {:pipeline_id=>"pipeline3", :exception=>#<NoMethodError: undefined method 'mutex' for nil:NilClass>
The next time logstash is restarted, it works.
We're currently on logstash 7.6.2.
Anyone know what causes this or have ideas on what to look into or try?
From what I can see, @current_pipeline could be only be nil at that point if the value returned by pipeline_id changed between lines 94 and 95. That could only happen if @execution_context changed between the two calls to pipeline_id. I cannot think of anything that could cause that.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.