# No implicit conversion of nil into string

**URL:** https://discuss.elastic.co/t/no-implicit-conversion-of-nil-into-string/119040
**Category:** Logstash
**Created:** [February 8, 2018, 12:37pm UTC](https://discuss.elastic.co/t/no-implicit-conversion-of-nil-into-string/119040 "2018-02-08T12:37:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yosi\_ela](https://avatars.discourse-cdn.com/v4/letter/y/779978/32.png) [@yosi\_ela](https://discuss.elastic.co/u/yosi_ela)
#### Post date: [February 8, 2018, 12:37pm UTC](https://discuss.elastic.co/t/no-implicit-conversion-of-nil-into-string/119040/1 "2018-02-08T12:37:47Z")

</div>

when i am runing the logstash conf  
i am getting this exception

someone know why?

ATAL] 2018-02-08 14:14:59.163 [main] runner - An unexpected error occurred! {:error=\>#\<TypeError: no implicit conversion of nil into String\>, :backtrace=\>["org/jruby/RubyFileTest.java:96:in `directory?'", "org/jruby/RubyFileTest.java:88:in`directory?'", "/etc/logstash/logstash-core/lib/logstash/settings.rb:469:in `block in value'", "org/jruby/RubyKernel.java:1741:in`tap'", "/etc/logstash/logstash-core/lib/logstash/settings.rb:468:in `value'", "/etc/logstash/logstash-core/lib/logstash/settings.rb:65:in`get\_value'", "/etc/logstash/logstash-core/lib/logstash/environment.rb:91:in `block in LogStash'", "/etc/logstash/logstash-core/lib/logstash/settings.rb:126:in`block in post\_process'", "org/jruby/RubyArray.java:1734:in `each'", "/etc/logstash/logstash-core/lib/logstash/settings.rb:125:in`post\_process'", "/etc/logstash/logstash-core/lib/logstash/util/settings\_helper.rb:26:in `post_process'", "/etc/logstash/logstash-core/lib/logstash/runner.rb:223:in`execute'", "/etc/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/etc/logstash/logstash-core/lib/logstash/runner.rb:219:in`run'", "/etc/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/etc/logstash/lib/bootstrap/environment.rb:67:in`'"]}

[ERROR] 2018-02-08 14:14:59.181 [main] Logstash - java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (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: [March 8, 2018, 12:37pm UTC](https://discuss.elastic.co/t/no-implicit-conversion-of-nil-into-string/119040/2 "2018-03-08T12:37:50Z")

</div>

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