# Upgrade from 1.0.3 to 1.1.2 and cat shards (and cat indices) give NullPointerException during upgrade

**URL:** <https://discuss.elastic.co/t/upgrade-from-1-0-3-to-1-1-2-and-cat-shards-and-cat-indices-give-nullpointerexception-during-upgrade/18170>\
**Category:** Elasticsearch\
**Created:** [June 17, 2014, 10:41pm UTC](https://discuss.elastic.co/t/upgrade-from-1-0-3-to-1-1-2-and-cat-shards-and-cat-indices-give-nullpointerexception-during-upgrade/18170 "2014-06-17T22:41:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Crammond](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@Christopher\_Crammond](https://discuss.elastic.co/u/Christopher_Crammond)\
**Post date:** [June 17, 2014, 10:41pm UTC](https://discuss.elastic.co/t/upgrade-from-1-0-3-to-1-1-2-and-cat-shards-and-cat-indices-give-nullpointerexception-during-upgrade/18170/1 "2014-06-17T22:41:21Z")

</div>

Has anyone observed a problem when upgrading from ElasticSearch 1.0.3 to  
1.1.2 regarding the cat shards (or cat indices)? We recently rolled this  
out in one of our environments and experienced a NullPointerException (NPE)  
for some of the cat API calls (for instance: cat/shards or cat/indices).  
The good news is that this went away once all nodes were on the same  
version.

My question: is it correct to assume that this is expected behavior? Also,  
is there anything that I could do to mitigate this (upgrade faster ;)?

Problems experienced were with:

_cat/shards_  
_cat/indices_  
_cat/nodes_

Oddly, _cat/indices/my-index?H_ did return the expected values (or at least  
when I tested it did).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/906da92f-0072-43af-84cb-bc394728544a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/906da92f-0072-43af-84cb-bc394728544a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:21am UTC](https://discuss.elastic.co/t/upgrade-from-1-0-3-to-1-1-2-and-cat-shards-and-cat-indices-give-nullpointerexception-during-upgrade/18170/2 "2017-07-06T01:21:42Z")

</div>


