# When pushing data in child document getting null pointer exception as id is null

**URL:** <https://discuss.elastic.co/t/when-pushing-data-in-child-document-getting-null-pointer-exception-as-id-is-null/89653>\
**Category:** Elasticsearch\
**Created:** [June 16, 2017, 6:26am UTC](https://discuss.elastic.co/t/when-pushing-data-in-child-document-getting-null-pointer-exception-as-id-is-null/89653 "2017-06-16T06:26:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 16, 2017, 8:13am UTC](https://discuss.elastic.co/t/when-pushing-data-in-child-document-getting-null-pointer-exception-as-id-is-null/89653/6 "2017-06-16T08:13:17Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I know a little about JDBC Importer project. @jprante might probably provide a better support then.

---

_[View the full topic](https://discuss.elastic.co/t/when-pushing-data-in-child-document-getting-null-pointer-exception-as-id-is-null/89653)._
