elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.43k stars 24.57k forks source link

marvel.agent Background thread had an uncaught exception: java.lang.NullPointerException #4970

Closed timbunce closed 10 years ago

timbunce commented 10 years ago
[2014-01-31 11:13:42,911][ERROR][marvel.agent             ] [mls-es-stag-01-mls-tigerstage] Background thread had an uncaught exception: java.lang.NullPointerException
at org.elasticsearch.search.suggest.completion.Completion090PostingsFormat$CompletionTerms.stats(Completion090PostingsFormat.java:288)
at org.elasticsearch.search.suggest.completion.Completion090PostingsFormat.completionStats(Completion090PostingsFormat.java:351)
at org.elasticsearch.index.shard.service.InternalIndexShard.completionStats(InternalIndexShard.java:545)
at org.elasticsearch.action.admin.indices.stats.CommonStats.<init>(CommonStats.java:151)
at org.elasticsearch.indices.InternalIndicesService.stats(InternalIndicesService.java:211)
at org.elasticsearch.indices.InternalIndicesService.stats(InternalIndicesService.java:175)
at org.elasticsearch.node.service.NodeService.stats(NodeService.java:149)
at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportNodeStats(AgentService.java:269)
at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:174)
at java.lang.Thread.run(Thread.java:744)

This is on ES 0.90.10. Possibly related to #4788.

s1monw commented 10 years ago

tim do you have any custom configuration / code running on your nodes or any plugins that are not standard? You should never see a terms instance that has a null lookup factory.

timbunce commented 10 years ago

Config is very plain. Plugins: bigdesk geocluster-facet geohash-facet head inquisitor marvel paramedic segmentspy. Of those only marvel and head were being used. Does that help?

s1monw commented 10 years ago

not really I really don't see how we can pull a MERGE reader but I will try to investigate that I for now just made sure we don't get a NPE anymore.

Thanks so much for reporting this!