# While doing REINDEX API we are getting Runtime Exception

**URL:** <https://discuss.elastic.co/t/while-doing-reindex-api-we-are-getting-runtime-exception/202207>\
**Category:** Elasticsearch\
**Created:** [October 3, 2019, 3:37pm UTC](https://discuss.elastic.co/t/while-doing-reindex-api-we-are-getting-runtime-exception/202207 "2019-10-03T15:37:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siva\_Karan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/siva_karan/32/54688_2.png) [@Siva\_Karan](https://discuss.elastic.co/u/Siva_Karan)\
**Post date:** [October 3, 2019, 3:37pm UTC](https://discuss.elastic.co/t/while-doing-reindex-api-we-are-getting-runtime-exception/202207/1 "2019-10-03T15:37:39Z")

</div>

Hi Team,

we are getting **runtime Exception** in Elasticsearch while using REINDEX API

"bulk" : 0,  
"search" : 0  
},  
"throttled\_millis" : 0,  
"requests\_per\_second" : -1.0,  
"throttled\_until\_millis" : 0,  
"failures" : [  
{  
"reason" : {  
"type" : "runtime\_exception",  
"reason" : "Unknown remote exception with reason=[RemoteTransportException[[\*\*\*\*\*][inet[/ip:port][search/phase/scan/scroll]]; nested: NullPointerException; ]"  
}  
}  
]

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [October 11, 2019, 11:20am UTC](https://discuss.elastic.co/t/while-doing-reindex-api-we-are-getting-runtime-exception/202207/2 "2019-10-11T11:20:07Z")

</div>

Hi @Siva_Karan,

it would be good to know your ES version, the reindex request, relevant info from the ES log files and whether this happens every time you apply that reindex request or if it only happens for some of the requests.

---

<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:** [November 8, 2019, 11:20am UTC](https://discuss.elastic.co/t/while-doing-reindex-api-we-are-getting-runtime-exception/202207/3 "2019-11-08T11:20:14Z")

</div>

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