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] [Assigned] (CASSANDRA-4836) NPE on PREPARE of INSERT using binary protocol
Date Sat, 20 Oct 2012 12:04:13 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-4836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sylvain Lebresne reassigned CASSANDRA-4836:
-------------------------------------------

    Assignee: Sylvain Lebresne
    
> 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