Logstash throwing Failed to execute action java.lang.IllegalStateException: error when starting the agent

Actually i tried with the logstash version 7.6.2 as my other servers are running this version and it got through with no errors. Still not sure the root cause, but using logstash version 7.6.2 solved my error