# Logstash LogStash::Error: Don’t know how to handle \`Java::JavaLang::IllegalArgumentException\` for \`PipelineAction::Create\<main\>\`

**URL:** https://discuss.elastic.co/t/logstash-logstash-don-t-know-how-to-handle-java-illegalargumentexception-for-pipelineaction-create-main/295468
**Category:** Logstash
**Created:** [January 26, 2022, 2:44pm UTC](https://discuss.elastic.co/t/logstash-logstash-don-t-know-how-to-handle-java-illegalargumentexception-for-pipelineaction-create-main/295468 "2022-01-26T14:44:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Faisal\_Malik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faisal_malik/32/83865_2.png) [@Faisal\_Malik](https://discuss.elastic.co/u/Faisal_Malik)
#### Post date: [January 26, 2022, 2:44pm UTC](https://discuss.elastic.co/t/logstash-logstash-don-t-know-how-to-handle-java-illegalargumentexception-for-pipelineaction-create-main/295468/1 "2022-01-26T14:44:43Z")

</div>

My logstash was working fine through the Helm chart in Kubernetes stateful set.  
I updated the logstash version from 7.9 to 7.16.2 but its don't work so I revert to the previous version 7.9 After reverting it also gives me the error.  
Sending Logstash logs to /usr/share/logstash/logs which is now configured via log4j2.properties  
warning: thread "Converge PipelineAction::Create" terminated with exception (report\_on\_exception is true):  
LogStash::Error: Don't know how to handle `Java::OrgLogstashConfigIr::InvalidIRException` for `PipelineAction::Create<main>`  
create at org/logstash/execution/ConvergeResultExt.java:109  
add at org/logstash/execution/ConvergeResultExt.java:37  
converge\_state at /usr/share/logstash/logstash-core/lib/logstash/agent.rb:347

I tried all versions of logstash from 6 to 7.16.2 but got the same error.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 23, 2022, 2:45pm UTC](https://discuss.elastic.co/t/logstash-logstash-don-t-know-how-to-handle-java-illegalargumentexception-for-pipelineaction-create-main/295468/2 "2022-02-23T14:45:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
