# Null pointer exception in logstash filter

**URL:** https://discuss.elastic.co/t/null-pointer-exception-in-logstash-filter/231446
**Category:** Logstash
**Tags:** docker
**Created:** [May 7, 2020, 3:46am UTC](https://discuss.elastic.co/t/null-pointer-exception-in-logstash-filter/231446 "2020-05-07T03:46:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [May 7, 2020, 4:09pm UTC](https://discuss.elastic.co/t/null-pointer-exception-in-logstash-filter/231446/2 "2020-05-07T16:09:52Z")

</div>

I believe that error is caused by a numeric comparison with a non-existent field. See [here](https://discuss.elastic.co/t/comparing-number-in-conditionnal-event-treatement/217043/5).

---

_[View the full topic](https://discuss.elastic.co/t/null-pointer-exception-in-logstash-filter/231446)._
