Erratic client NullPointerException


(Caoilte O'Connor) #1

Hi,
We just started seeing the following NPE an elasticsearch-0.90.2 single
node CI environment during tests.

We're not sure where to start looking for what's going wrong as it looks
from the code like its blowing up when its trying to tell us what the
underlying error is.

org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to
execute phase [query], total failure; shardFailures
{[SMH17lhPRMOn2H-ouyV5EQ][catalogue][1]:
QueryPhaseExecutionException[[catalogue][1]:
query[ConstantScore(cache(_type:item))],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][catalogue][2]:
QueryPhaseExecutionException[[catalogue][2]:
query[ConstantScore(cache(_type:item))],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][catalogue][4]:
QueryPhaseExecutionException[[catalogue][4]:
query[ConstantScore(cache(_type:item))],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][catalogue][0]:
QueryPhaseExecutionException[[catalogue][0]:
query[ConstantScore(cache(_type:item))],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][catalogue][3]:
QueryPhaseExecutionException[[catalogue][3]:
query[ConstantScore(cache(_type:item))],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: NullPointerException; }
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:261)
~[fnord.jar:0.0.1-211]
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:214)
~[fnord.jar:0.0.1-211]
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:144)
~[fnord.jar:0.0.1-211]
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
~[fnord.jar:0.0.1-211]
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:206)
~[fnord.jar:0.0.1-211]
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:193)
~[fnord.jar:0.0.1-211]
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:179)
~[fnord.jar:0.0.1-211]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
~[na:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
~[na:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Itamar Syn-Hershko) #2

There was some issue with filters producing NPEs that has been fixed not
long ago - can you test with 0.90.5?

On Wed, Sep 25, 2013 at 6:57 PM, Caoilte O'Connor caoilte@gmail.com wrote:

Hi,
We just started seeing the following NPE an elasticsearch-0.90.2 single
node CI environment during tests.

We're not sure where to start looking for what's going wrong as it looks
from the code like its blowing up when its trying to tell us what the
underlying error is.

org.elasticsearch.action.**search.**SearchPhaseExecutionException: Failed
to execute phase [query], total failure; shardFailures
{[SMH17lhPRMOn2H-ouyV5EQ][*catalogue][1]: QueryPhaseExecutionException[[
*catalogue][1]: query[ConstantScore(cache(**type:item))],from[0],size[10]:
Query Failed [Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][**catalogue][2]: QueryPhaseExecutionException[[
**catalogue][2]: query[ConstantScore(cache(
**type:item))],from[0],size[10]:
Query Failed [Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][**catalogue][4]: QueryPhaseExecutionException[[
**catalogue][4]: query[ConstantScore(cache(**type:item))],from[0],size[10]:
Query Failed [Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][**catalogue][0]: QueryPhaseExecutionException[[
**catalogue][0]: query[ConstantScore(cache(
**type:item))],from[0],size[10]:
Query Failed [Failed to execute main query]]; nested: NullPointerException;
}{[SMH17lhPRMOn2H-ouyV5EQ][**catalogue][3]: QueryPhaseExecutionException[[
**catalogue][3]: query[ConstantScore(cache(_**type:item))],from[0],size[10]:
Query Failed [Failed to execute main query]]; nested: NullPointerException;
}
at org.elasticsearch.action.**search.type.TransportSearchTypeAction$
BaseAsyncAction.**onFirstPhaseResult(**TransportSearchTypeAction.**java:261)
~[fnord.jar:0.0.1-211]
at org.elasticsearch.action.**search.type.TransportSearchTypeAction$
BaseAsyncAction$3.onFailure(**TransportSearchTypeAction.**java:214)
~[fnord.jar:0.0.1-211]
at org.elasticsearch.search.**action.SearchServiceTransportAction.
sendExecuteQuery(**SearchServiceTransportAction.**java:144)
~[fnord.jar:0.0.1-211]
at org.elasticsearch.action.**search.type.**TransportSearchQueryThenFetchA
ction$AsyncAction.sendExecuteFirstPhase(
TransportSearchQueryThenFetchA
ction.java:80) ~[fnord.jar:0.0.1-211]
at org.elasticsearch.action.**search.type.TransportSearchTypeAction$
BaseAsyncAction.**performFirstPhase(**TransportSearchTypeAction.**java:206)
~[fnord.jar:0.0.1-211]
at org.elasticsearch.action.**search.type.TransportSearchTypeAction$
BaseAsyncAction.**performFirstPhase(**TransportSearchTypeAction.**java:193)
~[fnord.jar:0.0.1-211]
at org.elasticsearch.action.**search.type.TransportSearchTypeAction$
BaseAsyncAction$2.run(**TransportSearchTypeAction.**java:179)
~[fnord.jar:0.0.1-211]
at java.util.concurrent.**ThreadPoolExecutor.runWorker(**ThreadPoolExecutor.java:1146)
~[na:1.6.0_24]
at java.util.concurrent.**ThreadPoolExecutor$Worker.run(**ThreadPoolExecutor.java:615)
~[na:1.6.0_24]
at java.lang.Thread.run(Thread.**java:679) [na:1.6.0_24]

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3