# Remote reindex ElasticSearch API giving Null Pointer Exception

**URL:** <https://discuss.elastic.co/t/remote-reindex-elasticsearch-api-giving-null-pointer-exception/300843>\
**Category:** Elasticsearch\
**Created:** [March 28, 2022, 12:47pm UTC](https://discuss.elastic.co/t/remote-reindex-elasticsearch-api-giving-null-pointer-exception/300843 "2022-03-28T12:47:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Kamble](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Prashant\_Kamble](https://discuss.elastic.co/u/Prashant_Kamble)\
**Post date:** [March 28, 2022, 12:47pm UTC](https://discuss.elastic.co/t/remote-reindex-elasticsearch-api-giving-null-pointer-exception/300843/1 "2022-03-28T12:47:13Z")

</div>

Remote reindex Elasticsearch API giving Null Pointer Exception

GET ..../tasks/{taskid}

```auto
------
-----

"error" : {
    "type" : "null_pointer_exception",
    "reason" : null
  }

```

Can someone know what could be the cause of the exception??

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 28, 2022, 1:01pm UTC](https://discuss.elastic.co/t/remote-reindex-elasticsearch-api-giving-null-pointer-exception/300843/2 "2022-03-28T13:01:09Z")

</div>

This is a similar discussion with the one in [Connection timed out when remote cluster re-indexing - #9 by Prashant\_Kamble](https://discuss.elastic.co/t/connection-timed-out-when-remote-cluster-re-indexing/300694/9)

Please keep the discussion in a single place.  
Thanks

---

<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:** [April 25, 2022, 1:01pm UTC](https://discuss.elastic.co/t/remote-reindex-elasticsearch-api-giving-null-pointer-exception/300843/3 "2022-04-25T13:01:47Z")

</div>

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