cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irina Chernushina (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5779) sudden NPE while accessing Cassandra with CQL driver
Date Sun, 21 Jul 2013 13:36:49 GMT

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

Irina Chernushina commented on CASSANDRA-5779:
----------------------------------------------

I rechecked logs, and see that indeed, we have been dropping keyspace asynchronously (that
was in test),
maybe it's our error to not synchronize flushing buffers vs finishing execution...

However, I suppose that NPE is not good anyway, I'd rather prefer to get "table doesn't exist"
message
                
> sudden NPE while accessing Cassandra with CQL driver
> ----------------------------------------------------
>
>                 Key: CASSANDRA-5779
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5779
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.6
>            Reporter: Irina Chernushina
>
> java.lang.NullPointerException at org.apache.cassandra.db.RowMutation.addOrGet(RowMutation.java:153)
>  at org.apache.cassandra.cql3.statements.UpdateStatement.mutationForKey(UpdateStatement.java:216)
>  at org.apache.cassandra.cql3.statements.UpdateStatement.getMutations(UpdateStatement.java:133)
>  at org.apache.cassandra.cql3.statements.BatchStatement.getMutations(BatchStatement.java:99)
> at org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:88)
> at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:118)
> at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:128)
> at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:87)
> at org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:287)
> at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
> at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:565)
> at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:793)
> at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:45)
> at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message