cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7454) NPE When Prepared Statement ID is not Found
Date Thu, 26 Jun 2014 20:15:24 GMT
Tyler Hobbs created CASSANDRA-7454:
--------------------------------------

             Summary: NPE When Prepared Statement ID is not Found
                 Key: CASSANDRA-7454
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7454
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Tyler Hobbs
            Assignee: Tyler Hobbs
             Fix For: 2.1.0


CASSANDRA-6855 introduced a NullPointerException when an unknown prepared statement ID is
used.

You'll see a stack trace like this:
{noformat}
ERROR [SharedPool-Worker-4] 2014-06-26 15:02:04,911 ErrorMessage.java:218 - Unexpected exception
during request
java.lang.NullPointerException: null
    at org.apache.cassandra.transport.messages.ExecuteMessage.execute(ExecuteMessage.java:105)
~[main/:na]
    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:412) [main/:na]
    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:309) [main/:na]
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103)
[netty-all-4.0.20.Final.jar:4.0.20.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
[netty-all-4.0.20.Final.jar:4.0.20.Final]
    at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:31)
[netty-all-4.0.20.Final.jar:4.0.20.Final]
    at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:323)
[netty-all-4.0.20.Final.jar:4.0.20.Final]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_40]
    at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:162)
[main/:na]
    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:103) [main/:na]
    at java.lang.Thread.run(Thread.java:724) [na:1.7.0_40]
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message