# Strange null pointer error during index request

**URL:** <https://discuss.elastic.co/t/strange-null-pointer-error-during-index-request/8806>\
**Category:** Elasticsearch\
**Created:** [August 21, 2012, 11:06pm UTC](https://discuss.elastic.co/t/strange-null-pointer-error-during-index-request/8806 "2012-08-21T23:06:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuhan](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@Yuhan](https://discuss.elastic.co/u/Yuhan)\
**Post date:** [August 21, 2012, 11:06pm UTC](https://discuss.elastic.co/t/strange-null-pointer-error-during-index-request/8806/1 "2012-08-21T23:06:07Z")

</div>

Hi all,

I'm running Elasticsearch java client inside a cascading pipe to build an  
index. but it reached an error and brought down cascading workflow.  
look like there's an null pointer exception inside  
IndexRequestBuilder.execute().actionGet();

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
at java.lang.Thread.run(Thread.java:636)  
17:29:52,617 ERROR VideoCategoriesToIndexFunction:86 -  
org.elasticsearch.ElasticSearchInterruptedException:null-[org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:47),

....

I sampled a smaller set of data around the place where the exception  
happened. but wasn't able reproduce the error. I'm using elasticsearch  
0.19.4 java client. I have reached this error twice. wondering what could  
be the cause.

Thank you.

Yuhan

--

---

<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, 3:15am UTC](https://discuss.elastic.co/t/strange-null-pointer-error-during-index-request/8806/2 "2017-07-06T03:15:32Z")

</div>


