org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by ansell
, 1 year ago
Failed to execute phase [query_fetch], all shards failed
via GitHub by mrsmn
, 2 years ago
Failed to execute phase [query_fetch], all shards failed
via GitHub by macnibblet
, 2 years ago
Failed to execute phase [query], all shards failed
via GitHub by erwinwinder
, 2 years ago
Failed to execute phase [query_fetch], all shards failed; shardFailures {[vQPm8hMWQuKDkvqTtMTydQ][molgenis][0]: SearchParseException[[molgenis][0]: from[0],size[0]: Parse Failure [Failed to parse source [{"from":0,"size":0,"aggregations":{"ontology
via GitHub by fdlk
, 1 year ago
Failed to execute phase [query_fetch], all shards failed; shardFailures {[3rAobd3GTcOEsqtR2YsSGQ][molgenis][0]: QueryPhaseExecutionException[[molgenis][0]: query[ConstantScore(cache(+_type:org_molgenis_test_TypeTest
via GitHub by fdlk
, 2 years ago
Failed to execute phase [query], all shards failed; shardFailures {[3rAobd3GTcOEsqtR2YsSGQ][molgenis][0]: SearchParseException[[molgenis][0]: from[0],size[10000]: Parse Failure [Failed to parse source [{"from":0,"size":10000,"query":{"filtered":{"query":{"match_all":{}},"filter":{"term":{"geneSymbol.raw":[""]}}}}}]]]; nested: NullPointerException; }
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:237)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:183)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.