I use query policy with condition
_queryPolicy = new QueryPolicy(_client.QueryPolicyDefault) { failOnClusterChange = true };
And during executing _client.Query(_queryPolicy, new RecordSequenceHandler(tcs), queryParameters); I get "Error -1,1,1000,1000,2: Object reference not set to an instance of an object."
I've investigated the source code, and NullReference is produced in class AsyncCommand method ExecuteCommand() in
I use query policy with condition
_queryPolicy = new QueryPolicy(_client.QueryPolicyDefault) { failOnClusterChange = true };
And during executing_client.Query(_queryPolicy, new RecordSequenceHandler(tcs), queryParameters);
I get"Error -1,1,1000,1000,2: Object reference not set to an instance of an object."
I've investigated the source code, and NullReference is produced inclass AsyncCommand
methodExecuteCommand()
innode is null. Because in
AsyncMultiExecutor
methodcommands[0].node
is null, it has setcommands[0].serverNode
My package version is Aerospike.Client 3.9.9, but I have the same problem on version 4.1.0