Java.lang.illegalstateexception

Hi i'm new to ELK Stack,
I'm currently trying to ingest data from filebeat to logstash and using grok filter in it.
i accidentally deleted the whole log folder of logstash /var/log/logstash,
so i created the folder by mkdir, but logs didn't show up.
and i removed logstash and reinstalled it. but now i'm getting this error
if i go to /var/log/logstash
and use this command
cat logstash-plain.log |grep ERROR

this is the error i'm getting

java.lang.illegalstateexception: logstash stopped processing because of an error: (systemexit) exit

I'm using RHEL 7 and also
I've set my java path too, Everything is up but logstash is showing me this error.

I've used bin/logstash -f /etc/logstash/conf.d/*conf --config.test_and_exit too check my config file is okay or not and it's result is OK

Any solution would do great,
Thanks

This is probably something to ask the logstash team. Best of luck!