# NullPointerException requesting /\_cat/indices

**URL:** <https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314>\
**Category:** Elasticsearch\
**Created:** [July 26, 2015, 10:57pm UTC](https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314 "2015-07-26T22:57:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcortinas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcortinas/32/3859_2.png) [@mcortinas](https://discuss.elastic.co/u/mcortinas)\
**Post date:** [July 26, 2015, 10:57pm UTC](https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314/1 "2015-07-26T22:57:18Z")

</div>

Hello,

My production environment is running 9 java instances ES-1.5.2 with java8 in Ubuntu 64-bit.  
I receive 500 code responses when I try to know the indexes stats requesting "/\_cat/indices"

I use an indexTemplate and the last time I resolved deleting all indexes and IndexTemplates and then creating again the IndexTemplate and finally inserting data in indexes created by this IndexTemplate.

But these errors has appeared again. Anybody know how can I fix within delete the currently indexes?

The description from my environment and trobleshooting commands launched collected in [https://github.com/mcortinas/mcortinas/blob/master/elasticsearch/NullPointerExecption.environment](https://github.com/mcortinas/mcortinas/blob/master/elasticsearch/NullPointerExecption.environment)

Thanks in advance,  
Marc

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2015, 11:00pm UTC](https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314/2 "2015-07-26T23:00:52Z")

</div>

Is there anything in the logs that correlates?

---

<div class="post-metadata">

**Author:** ![mcortinas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcortinas/32/3859_2.png) [@mcortinas](https://discuss.elastic.co/u/mcortinas)\
**Post date:** [July 27, 2015, 1:16pm UTC](https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314/3 "2015-07-27T13:16:12Z")

</div>

Yes, it seems there is, I published here: [https://github.com/mcortinas/mcortinas/blob/master/elasticsearch/errorES1.log](https://github.com/mcortinas/mcortinas/blob/master/elasticsearch/errorES1.log)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 27, 2015, 10:02pm UTC](https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314/4 "2015-07-27T22:02:48Z")

</div>

Have you altered your threadpool settings at all?

---

<div class="post-metadata">

**Author:** ![mcortinas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcortinas/32/3859_2.png) [@mcortinas](https://discuss.elastic.co/u/mcortinas)\
**Post date:** [July 27, 2015, 10:19pm UTC](https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314/5 "2015-07-27T22:19:07Z")

</div>

Solved! The clock from 3 nodes was wrong , it was in the future (master included) . I'm not totally sure it was the root cause. First of all, I fixed clock problem enabling ntpd in all nodes and finally after restart the master the problem dissapear.

for other hand, i didn't modified the threadpool.

Thank you for your help warkolm!  
Marc

---

<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:58pm UTC](https://discuss.elastic.co/t/nullpointerexception-requesting--cat-indices/26314/6 "2017-07-05T23:58:47Z")

</div>


