# java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

**URL:** <https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/159478>\
**Category:** Logstash\
**Created:** [December 5, 2018, 7:39am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/159478 "2018-12-05T07:39:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srinivasa\_rao](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@srinivasa\_rao](https://discuss.elastic.co/u/srinivasa_rao)\
**Post date:** [December 5, 2018, 7:39am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/159478/1 "2018-12-05T07:39:45Z")

</div>

I am getting the fallowing error after i start the logstash,but before the day it was worked perfectly.Now it is giving the error.

please help me on this logs.

Sending Logstash logs to C:/Users/1596377/Desktop/ELK/kibana/logstash-6.4.2/logs which is now configured via log4j2.properties  
[2018-12-05T12:47:34,283][FATAL][logstash.runner] An unexpected error occurred! {:error=\>#\<Errno::ENOENT: No such file or directory - No such directory: C:/Users/1596377/Desktop/ELK/kibana/logstash-6.4.2/modules\>, :backtrace=\>["org/jruby/RubyDir.java:146:in `initialize'", "org/jruby/RubyDir.java:383:in`foreach'", "C:/Users/1596377/Desktop/ELK/kibana/logstash-6.4.2/logstash-core/lib/logstash/modules/util.rb:9:in `register_local_modules'", "C:/Users/1596377/Desktop/ELK/kibana/logstash-6.4.2/logstash-core/lib/logstash/runner.rb:273:in`execute'", "C:/Users/1596377/Desktop/ELK/kibana/logstash-6.4.2/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "C:/Users/1596377/Desktop/ELK/kibana/logstash-6.4.2/logstash-core/lib/logstash/runner.rb:237:in`run'", "C:/Users/1596377/Desktop/ELK/kibana/logstash-6.4.2/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "C:\\Users\\1596377\\Desktop\\ELK\\kibana\\logstash-6.4.2\\lib\\bootstrap\\environment.rb:73:in`'"]}  
[2018-12-05T12:47:34,327][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

---

<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:** [January 2, 2019, 7:39am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-logstash-stopped-processing-because-of-an-error-systemexit-exit/159478/2 "2019-01-02T07:39:59Z")

</div>

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