cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Rudenberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4836) NPE on PREPARE of INSERT using binary protocol
Date Sat, 27 Oct 2012 19:09:12 GMT

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

Jonathan Rudenberg commented on CASSANDRA-4836:
-----------------------------------------------

I just tested on the latest trunk (ab2614ca) and this issue appears to be gone.
                
> NPE on PREPARE of INSERT using binary protocol
> ----------------------------------------------
>
>                 Key: CASSANDRA-4836
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4836
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: git rev 0f835100
>            Reporter: Jonathan Rudenberg
>            Assignee: Sylvain Lebresne
>
> This started happening on 297f530c. I've implemented the consistency level specification,
and executing other queries works. Running a prepare with an INSERT statement results in this
exception
> {noformat}
> ERROR 13:11:48,677 Unexpected exception during request
> java.lang.NullPointerException
> 	at org.apache.cassandra.cql3.ResultSet$Metadata.allInSameCF(ResultSet.java:234)
> 	at org.apache.cassandra.cql3.ResultSet$Metadata.<init>(ResultSet.java:215)
> 	at org.apache.cassandra.transport.messages.ResultMessage$Prepared.<init>(ResultMessage.java:274)
> 	at org.apache.cassandra.cql3.QueryProcessor.storePreparedStatement(QueryProcessor.java:209)
> 	at org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:185)
> 	at org.apache.cassandra.transport.messages.PrepareMessage.execute(PrepareMessage.java:58)
> 	at org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:212)
> 	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
> 	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
> 	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
> 	at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:45)
> 	at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69)
> 	at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:315)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> {noformat}

--
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