Marvel error: ArrayIndexOutOfBoundsException

I saw this in our Elasticsearch logs this morning and was wondering if there is somewhere more appropriate to report the issue (it doesn't seem to have caused anything bad to actually happen) ...

[2016-06-27 09:14:18,988][ERROR][marvel.agent.collector.node] [Paul Bailey] collector [node-stats-collector] - failed collecting data
java.lang.ArrayIndexOutOfBoundsException: 0
at org.elasticsearch.marvel.agent.collector.node.NodeStatsCollector.doCollect(
at org.elasticsearch.marvel.agent.collector.AbstractCollector.collect(
at org.elasticsearch.marvel.agent.AgentService$

Hi David,

This was fixed in the latest release of Marvel.

The issue is that, while polling for node stats, we actually don't get any back sometimes. This is naturally an unexpected situation and it was not handled correctly. Fortunately, this just means that that collector gets skipped for that time interval -- no real negative side effects occur.

Hope that helps

1 Like