cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Laban (Created) (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-4095) Internal error processing get_slice (NullPointerException)
Date Wed, 28 Mar 2012 03:11:28 GMT
Internal error processing get_slice (NullPointerException)

                 Key: CASSANDRA-4095
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.8
         Environment: Java(TM) SE Runtime Environment (build 1.6.0_30-b12)

            Reporter: John Laban
            Priority: Minor

I get this pretty regularly.  It seems to happen transiently on multiple nodes in my cluster,
every so often, and goes away.

ERROR [Thrift:45] 2012-03-26 19:59:12,024 (line 3041) Internal error processing
        at org.apache.cassandra.db.SliceFromReadCommand.maybeGenerateRetryCommand(
        at org.apache.cassandra.service.StorageProxy.fetchRows(
        at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(
        at org.apache.cassandra.thrift.CassandraServer.getSlice(
        at org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(
        at org.apache.cassandra.thrift.CassandraServer.get_slice(
        at org.apache.cassandra.thrift.Cassandra$Processor$get_slice.process(
        at org.apache.cassandra.thrift.Cassandra$Processor.process(
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
        at java.util.concurrent.ThreadPoolExecutor$

The line in question is (I think) the one below, so it looks like the column family reference
for a row can sometimes be null?

    int liveColumnsInRow = row != null ? : 0;

Here is my column family (on 1.0.8):

    ColumnFamily: WorkQueue (Super)
      Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type
      Default column value validator: org.apache.cassandra.db.marshal.UTF8Type
      Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type/org.apache.cassandra.db.marshal.UTF8Type
      Row cache size / save period in seconds / keys to save : 0.0/0/all
      Row Cache Provider: org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider
      Key cache size / save period in seconds: 0.0/0
      GC grace seconds: 0
      Compaction min/max thresholds: 4/32
      Read repair chance: 0.0
      Replicate on write: false
      Bloom Filter FP chance: default
      Built indexes: []
      Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message