cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8419) NPE in SelectStatement
Date Thu, 11 Dec 2014 15:13:13 GMT

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

Philip Thompson updated CASSANDRA-8419:
---------------------------------------
    Labels: qa-resolved  (was: )

> NPE in SelectStatement
> ----------------------
>
>                 Key: CASSANDRA-8419
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8419
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Philip Thompson
>            Assignee: Benjamin Lerer
>              Labels: qa-resolved
>             Fix For: 3.0
>
>         Attachments: CASSANDRA-8419.txt
>
>
> The dtest {{cql_tests.py:TestCQL.empty_in_test}} is failing in trunk with a Null Pointer
Exception. The stack trace is:
> {code}ERROR [SharedPool-Worker-1] 2014-12-03 16:24:16,274 ErrorMessage.java:243 - Unexpected
exception
> during request
> java.lang.NullPointerException: null
>         at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
~[guava-16.0
> .jar:na]
>         at com.google.common.collect.Lists$TransformingSequentialList.<init>(Lists.java:525)
~[gu
> ava-16.0.jar:na]
>         at com.google.common.collect.Lists.transform(Lists.java:508) ~[guava-16.0.jar:na]
>         at org.apache.cassandra.db.composites.Composites.toByteBuffers(Composites.java:45)
~[main
> /:na]
>         at org.apache.cassandra.cql3.restrictions.SingleColumnPrimaryKeyRestrictions.values(Singl
> eColumnPrimaryKeyRestrictions.java:257) ~[main/:na]
>         at org.apache.cassandra.cql3.restrictions.StatementRestrictions.getPartitionKeys(StatementRestrictions.java:362)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.SelectStatement.getSliceCommands(SelectStatement.java:296)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.SelectStatement.getPageableCommand(SelectStatement.java:205)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:165)
~[main/:na]
>         at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:72)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:239)
~[main/:na]
>         at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:261)
~[main/:na]
>         at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:118)
~[main/:na]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:439)
[main/:na]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:335)
[main/:na]
>         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:471) [na:1.7.0_67]
>         at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164)
[main/:na]
>         at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [main/:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]{code}
> The error occurred while executing {{SELECT v FROM test_compact WHERE k1 IN ()}}.



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

Mime
View raw message