cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaroslav Kamenik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10711) NoSuchElementException when executing empty batch.
Date Mon, 16 Nov 2015 10:22:10 GMT
Jaroslav Kamenik created CASSANDRA-10711:
--------------------------------------------

             Summary: NoSuchElementException when executing empty batch.
                 Key: CASSANDRA-10711
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10711
             Project: Cassandra
          Issue Type: Bug
         Environment: Cassandra 3.0, OSS 42.1
            Reporter: Jaroslav Kamenik


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]




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message