Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Cassandra 3.0, OSS 42.1
-
Normal
Description
After upgrade to C* 3.0, it fails when executes empty batch:
java.util.NoSuchElementException: null at java.util.ArrayList$Itr.next(ArrayList.java:854) ~[na:1.8.0_60] at org.apache.cassandra.service.StorageProxy.mutateWithTriggers(StorageProxy.java:737) ~[apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.cql3.statements.BatchStatement.executeWithoutConditions(BatchStatement.java:356) ~[apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:337) ~[apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:323) ~[apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.cql3.QueryProcessor.processBatch(QueryProcessor.java:490) ~[apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.cql3.QueryProcessor.processBatch(QueryProcessor.java:480) ~[apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.transport.messages.BatchMessage.execute(BatchMessage.java:217) ~[apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [apache-cassandra-3.0.0.jar:3.0.0] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.0.23.Final.jar:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32) [netty-all-4.0.23.Final.jar:4.0.23.Final] at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324) [netty-all-4.0.23.Final.jar:4.0.23.Final] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_60] at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164) [apache-cassandra-3.0.0.jar:3.0.0] at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.0.0.jar:3.0.0] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]