# NoMethodError: undefined method \`map\_cleanup' for nil:NilClass

**URL:** https://discuss.elastic.co/t/nomethoderror-undefined-method-map-cleanup-for-nil-nilclass/122514
**Category:** Logstash
**Created:** [March 5, 2018, 1:07pm UTC](https://discuss.elastic.co/t/nomethoderror-undefined-method-map-cleanup-for-nil-nilclass/122514 "2018-03-05T13:07:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Honda\_fred\_elk](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@Honda\_fred\_elk](https://discuss.elastic.co/u/Honda_fred_elk)
#### Post date: [March 5, 2018, 1:07pm UTC](https://discuss.elastic.co/t/nomethoderror-undefined-method-map-cleanup-for-nil-nilclass/122514/1 "2018-03-05T13:07:19Z")

</div>

Hello,  
I'm getting below error in logstash and then logstash crashes.  
NoMethodError: undefined method `map\_cleanup' for nil:NilClass  
start at /appl/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-multiline-2.0.11/lib/logstash/codecs/identity\_map\_codec.rb:55

I have installed ELK in 4 servers.. 2 for production and 2 for QA..  
I'm getting the above error only on one server in QA .. In remaining boxes logstash instance is working absolutely fine without any issue.. that surprises me al lot..

Can I get a help for this issue.. ?

Thanks  
Fredrick

---

<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: [April 2, 2018, 1:07pm UTC](https://discuss.elastic.co/t/nomethoderror-undefined-method-map-cleanup-for-nil-nilclass/122514/2 "2018-04-02T13:07:29Z")

</div>

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