# Null\_pointer\_exception

**URL:** https://discuss.elastic.co/t/null-pointer-exception/218487
**Category:** Elasticsearch
**Created:** [February 9, 2020, 11:22pm UTC](https://discuss.elastic.co/t/null-pointer-exception/218487 "2020-02-09T23:22:08Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![rameshkr1994](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rameshkr1994/32/59029_2.png) [@rameshkr1994](https://discuss.elastic.co/u/rameshkr1994)
#### Post date: [February 10, 2020, 12:31pm UTC](https://discuss.elastic.co/t/null-pointer-exception/218487/5 "2020-02-10T12:31:07Z")

</div>

> [@pawelks](#):
>
> "date\_from": { "lte": "2020-02-10" }

Ok @pawelks.

so problem here is you are bale to combine both matched for `"lang":"pl" and "date":"Your date" `

is that correct ?

if yes then you can't perform two must condition in single query.

you can also verify that by using separate must query.it will work ?but combining both in single it may not work?

please check and confirm me?i faced the issue while implemented same POC.as below-

[may help you](https://discuss.elastic.co/t/elastic-search-advanced-search-query-issue/198254/9)

Thanks  
HadoopHelp

---

_[View the full topic](https://discuss.elastic.co/t/null-pointer-exception/218487)._
