cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Witschey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10178) NPE inserting more than 8 values in 100-column table
Date Tue, 25 Aug 2015 17:10:45 GMT
Jim Witschey created CASSANDRA-10178:
----------------------------------------

             Summary: NPE inserting more than 8 values in 100-column table
                 Key: CASSANDRA-10178
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10178
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jim Witschey
             Fix For: 3.0.x


I created a 100-column table of UUIDs, then inserted rows that didn't populate every column.
When I insert 8 values, the insertion completes successfully. When I insert 9 values, the
request fails with an NPE:

{code}
ERROR [SharedPool-Worker-2] 2015-08-25 12:46:27,839 Message.java:611 - Unexpected exception
during request; channel = [id: 0xf0ea910e, /127.0.0.1:57948 => /127.0.0.1:9042]
java.lang.AssertionError: null
        at org.apache.cassandra.db.partitions.PartitionUpdate.add(PartitionUpdate.java:541)
~[main/:na]
        at org.apache.cassandra.cql3.statements.UpdateStatement.addUpdateForKey(UpdateStatement.java:85)
~[main/:na]
        at org.apache.cassandra.cql3.statements.ModificationStatement.getMutations(ModificationStatement.java:824)
~[main/:na]
        at org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:611)
~[main/:na]
        at org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:599)
~[main/:na]
        at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:204)
~[main/:na]
        at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:235) ~[main/:na]
        at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:220) ~[main/:na]
        at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:123)
~[main/:na]
        at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507)
[main/:na]
        at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401)
[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:511) [na:1.8.0_45]
        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.8.0_45]
{code}

A Python script and shell harness for running CCM and starting the script can be found here:

https://gist.github.com/mambocab/b90c1b90d57653450e3c



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

Mime
View raw message