Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryParser can return null from a query #6723

Merged
merged 1 commit into from Jul 4, 2014
Merged

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Jul 4, 2014

This causes a NPE since XContentStructure checks if the query is null
and takes this as the condition to parse from the byte source which is
actually null in that case.

Closes #6722

This causes a NPE since XContentStructure checks if the query is null
and takes this as the condition to parse from the byte source which is
actually null in that case.

Closes elastic#6722
@s1monw s1monw added the review label Jul 4, 2014
@jpountz
Copy link
Contributor

jpountz commented Jul 4, 2014

LGTM

@s1monw s1monw merged commit c662387 into elastic:master Jul 4, 2014
@s1monw s1monw removed the review label Jul 4, 2014
@s1monw s1monw deleted the issue/6722 branch July 4, 2014 12:24
@clintongormley clintongormley changed the title [Query] QueryParser can return null from a query QueryParser can return null from a query Jun 7, 2015
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Query DSL labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v1.1.3 v1.2.2 v1.3.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace empty bool queries with match_all to prevent NullPointerExceptions
3 participants