We are experiencing the following exception every few hours in our two node cluster with the Java client 3.1.7:

Node FA12C4D454AC40C 5.196.**.***:3000 refresh failed: java.lang.ArrayIndexOutOfBoundsException: 1
	at com.aerospike.client.cluster.Node.addFriends(
	at com.aerospike.client.cluster.Node.refresh(
	at com.aerospike.client.cluster.Cluster.tend(

in the tend-Thread with the stack:


I think the new servers may have modified the “services” return value which the client is not parsing. Which server version are you using?

Also, what is the result of this command (indicate if there are any leading trailing spaces as well)?

asinfo -v services

We are using Aerospike EE build 3.6.3 in a two node cluster. The asinfo -v services output is “5.196..*:3000” (no leading or trailing white spaces), the address is the one of the other node in the cluster.

That is the correct output, but the “services” request is performed once a second, so most are still succeeding.

Aerospike 3.6.3 has a bug which is causing this occasional random byte insertion into info responses. A bug has been filed on the server side.

This issue is being tracked through the following Jira: AER-5204

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.