# 2.1.0 occasional failed engine \[refresh failed\] due to NullPointerException while evicting query cache

**URL:** <https://discuss.elastic.co/t/2-1-0-occasional-failed-engine-refresh-failed-due-to-nullpointerexception-while-evicting-query-cache/37478>\
**Category:** Elasticsearch\
**Created:** [December 17, 2015, 2:52pm UTC](https://discuss.elastic.co/t/2-1-0-occasional-failed-engine-refresh-failed-due-to-nullpointerexception-while-evicting-query-cache/37478 "2015-12-17T14:52:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davmrtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davmrtl/32/3477_2.png) [@davmrtl](https://discuss.elastic.co/u/davmrtl)\
**Post date:** [December 17, 2015, 2:52pm UTC](https://discuss.elastic.co/t/2-1-0-occasional-failed-engine-refresh-failed-due-to-nullpointerexception-while-evicting-query-cache/37478/1 "2015-12-17T14:52:47Z")

</div>

Hi,

At this moment, this case gives me a lot of problems regarding my Elasticsearch cluster.  
I see that this pull request would solve my case:

> <https://github.com/elastic/elasticsearch/pull/15202>

But this fix is scheduled for 2.1.1. When this update would be avalaible? I really need this update since I cannot use at all my Elasticsearch cluster at this moment!

Regards,

David

---

<div class="post-metadata">

**Author:** ![jimczi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jimczi/32/47985_2.png) [@jimczi](https://discuss.elastic.co/u/jimczi)\
**Post date:** [December 17, 2015, 3:07pm UTC](https://discuss.elastic.co/t/2-1-0-occasional-failed-engine-refresh-failed-due-to-nullpointerexception-while-evicting-query-cache/37478/2 "2015-12-17T15:07:14Z")

</div>

You can disable the cache as a workaround but 2.1.1 should be out very soon.

---

<div class="post-metadata">

**Author:** ![davmrtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davmrtl/32/3477_2.png) [@davmrtl](https://discuss.elastic.co/u/davmrtl)\
**Post date:** [December 17, 2015, 4:24pm UTC](https://discuss.elastic.co/t/2-1-0-occasional-failed-engine-refresh-failed-due-to-nullpointerexception-while-evicting-query-cache/37478/3 "2015-12-17T16:24:40Z")

</div>

Since I really need the caching for my 9G docs, instead I'll make a cron for clearing cache every hours until the release of 2.1.1.

Thank you!

---

<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:** [July 5, 2017, 11:30pm UTC](https://discuss.elastic.co/t/2-1-0-occasional-failed-engine-refresh-failed-due-to-nullpointerexception-while-evicting-query-cache/37478/4 "2017-07-05T23:30:08Z")

</div>


