# Error while facing logstash startup - No Implicit conversion of nil into String

**URL:** https://discuss.elastic.co/t/error-while-facing-logstash-startup-no-implicit-conversion-of-nil-into-string/190461
**Category:** Logstash
**Created:** [July 15, 2019, 8:26am UTC](https://discuss.elastic.co/t/error-while-facing-logstash-startup-no-implicit-conversion-of-nil-into-string/190461 "2019-07-15T08:26:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mushtaqb](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@Mushtaqb](https://discuss.elastic.co/u/Mushtaqb)
#### Post date: [July 15, 2019, 8:26am UTC](https://discuss.elastic.co/t/error-while-facing-logstash-startup-no-implicit-conversion-of-nil-into-string/190461/1 "2019-07-15T08:26:04Z")

</div>

[main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (TypeError) no implicit conversion of nil into String.

Logstash went shutdown suddenly due to VM shutdown . When we try to restart the ELK stacks , we are facing this issue in logstash .

---

<div class="post-metadata">

### Author: ![vsan82](https://avatars.discourse-cdn.com/v4/letter/v/f07891/32.png) [@vsan82](https://discuss.elastic.co/u/vsan82)
#### Post date: [July 15, 2019, 11:24am UTC](https://discuss.elastic.co/t/error-while-facing-logstash-startup-no-implicit-conversion-of-nil-into-string/190461/2 "2019-07-15T11:24:52Z")

</div>

Please share the logs.

---

<div class="post-metadata">

### Author: ![Mushtaqb](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@Mushtaqb](https://discuss.elastic.co/u/Mushtaqb)
#### Post date: [July 16, 2019, 7:40am UTC](https://discuss.elastic.co/t/error-while-facing-logstash-startup-no-implicit-conversion-of-nil-into-string/190461/3 "2019-07-16T07:40:12Z")

</div>

This issue is solved , actually there was some APM agent(of Riverbed monitoring ) running in the same VM. Looks like it was locking the pid file or any process id , due to which logstash was not getting started .

On stopping the agent and uninstalling it , logstash worked fine .  
logstash should log proper error messages.

---

<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: [August 13, 2019, 7:40am UTC](https://discuss.elastic.co/t/error-while-facing-logstash-startup-no-implicit-conversion-of-nil-into-string/190461/4 "2019-08-13T07:40:13Z")

</div>

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