# Unknown error when trying to read some data in Elasticsearch

**URL:** https://community.dremio.com/t/unknown-error-when-trying-to-read-some-data-in-elasticsearch/2965
**Category:** Uncategorized
**Created:** [March 12, 2019, 8:24pm UTC](https://community.dremio.com/t/unknown-error-when-trying-to-read-some-data-in-elasticsearch/2965 "2019-03-12T20:24:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Als](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@Als](https://community.dremio.com/u/Als)
#### Post date: [March 12, 2019, 8:24pm UTC](https://community.dremio.com/t/unknown-error-when-trying-to-read-some-data-in-elasticsearch/2965/1 "2019-03-12T20:24:58Z")

</div>

I’ve connected Dremio to my elasticsearch cluster, but when I’m trying to interact with some specific datasets I get the “Something went wrong” and the logs say:

2019-03-12 21:08:02,939 [qtp961997107-144] ERROR c.d.d.server.GenericExceptionMapper - Unexpected exception when processing POST [http://localhost:9047/apiv2/datasets/new\_untitled?parentDataset=[...]".doc&newVersion=0000794910403570&limit=0](http://localhost:9047/apiv2/datasets/new_untitled?parentDataset=%5B...%5D%22.doc&newVersion=0000794910403570&limit=0) : java.lang.NullPointerException  
java.lang.NullPointerException: null  
at com.dremio.dac.explore.DatasetsResource.getDatasetSummary(DatasetsResource.java:270) ~[dremio-dac-backend-3.1.6-201903070042400578-fdcd3a8.jar:3.1.6-201903070042400578-fdcd3a8]  
at com.dremio.dac.explore.DatasetsResource.newUntitled(DatasetsResource.java:141) ~[dremio-dac-backend-3.1.6-201903070042400578-fdcd3a8.jar:3.1.6-201903070042400578-fdcd3a8]  
at com.dremio.dac.explore.DatasetsResource.newUntitledFromParent(DatasetsResource.java:208) ~[dremio-dac-backend-3.1.6-201903070042400578-fdcd3a8.jar:3.1.6-201903070042400578-fdcd3a8]  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0\_201]  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0\_201]  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0\_201]  
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0\_201]

How can I identify what is wrong?

---

<div class="post-metadata">

### Author: ![Als](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@Als](https://community.dremio.com/u/Als)
#### Post date: [March 14, 2019, 10:50am UTC](https://community.dremio.com/t/unknown-error-when-trying-to-read-some-data-in-elasticsearch/2965/2 "2019-03-14T10:50:41Z")

</div>

This was my own error and I didn’t read the logs extensively enough. I have a rev proxy that misfired when my indexes had a certain word in the url, causing …/\_cluster/state/metadata/xxx to fail.
