IndexOutOfBoundsException in X-Pack 5.3

Hi, I use X-Pack 5.3. But the following error occurred.

[2017-04-09T09:00:51,252][ERROR][o.e.x.m.c.n.NodeStatsCollector] [...] collector [node-stats-collector] failed to collect data
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck( ~[?:1.8.0_121]
at java.util.ArrayList.get( ~[?:1.8.0_121]
at org.elasticsearch.xpack.monitoring.collector.node.NodeStatsCollector.doCollect( ~[x-pack-5.3.0.jar:5.3.0]
at org.elasticsearch.xpack.monitoring.collector.Collector.collect( [x-pack-5.3.0.jar:5.3.0]
at org.elasticsearch.xpack.monitoring.MonitoringService$MonitoringExecution$1.doRun( [x-pack-5.3.0.jar:5.3.0]
at [elasticsearch-5.3.0.jar:5.3.0]
at java.util.concurrent.Executors$ [?:1.8.0_121]
at [?:1.8.0_121]
at org.elasticsearch.common.util.concurrent.ThreadContext$ [elasticsearch-5.3.0.jar:5.3.0]

What is the rest of the setup?
Usually that error occurs when you don't get data from the node for monitoring and stats. It should just skip that collection, but it shouldn't interfere with anything else.

hmm, actually, although this error occurred, X-Pack 5.3 seems to work well.

But I thinks it's better to skip that collection.

If engineers see IndexOutOfBoundsException, they consider this problem as bug.

Yes, I agree we need to improve our error message handling across the stack, but you can only do so much with so little time. There are a few meta issues regarding this and work is progressing on them, but they're not very high priority.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.