cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10711) NoSuchElementException when executing empty batch.
Date Mon, 14 Dec 2015 14:34:46 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056044#comment-15056044
] 

Sylvain Lebresne commented on CASSANDRA-10711:
----------------------------------------------

[~thobbs] It doesn't seem you've actually started the tests listed above (the patch lgtm otherwise).

> NoSuchElementException when executing empty batch.
> --------------------------------------------------
>
>                 Key: CASSANDRA-10711
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10711
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>         Environment: Cassandra 3.0, OSS 42.1
>            Reporter: Jaroslav Kamenik
>            Assignee: ZhaoYang
>              Labels: triaged
>             Fix For: 3.0.x
>
>         Attachments: CASSANDRA-10711-trunk.patch
>
>
> After upgrade to C* 3.0, it fails when executes empty batch:
> {code}
> 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]
> {code}



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

Mime
View raw message