Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-623

NullPointer during a get_range_slice

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      r888913 RF=2 3 node cluster

    • Severity:
      Normal

      Description

      I keep running into this exception on a get_range_slice command. It seems to be a regression because it didn't happen in r886010 but does happen in r888913

      2009-12-10_17:17:22.56200 ERROR - Error in ThreadPoolExecutor
      2009-12-10_17:17:22.56200 java.lang.RuntimeException: java.lang.NullPointerException
      2009-12-10_17:17:22.56200 at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:53)
      2009-12-10_17:17:22.56200 at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:38)
      2009-12-10_17:17:22.56200 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2009-12-10_17:17:22.56200 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      2009-12-10_17:17:22.56200 at java.lang.Thread.run(Thread.java:636)
      2009-12-10_17:17:22.56200 Caused by: java.lang.NullPointerException
      2009-12-10_17:17:22.56200 at org.apache.cassandra.dht.OrderPreservingPartitioner$1.compare(OrderPreservingPartitioner.java:45)
      2009-12-10_17:17:22.56200 at org.apache.cassandra.dht.OrderPreservingPartitioner$1.compare(OrderPreservingPartitioner.java:42)
      2009-12-10_17:17:22.56200 at org.apache.cassandra.db.ColumnFamilyStore.getKeyRangeRaw(ColumnFamilyStore.java:1465)
      2009-12-10_17:17:22.56200 at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1506)
      2009-12-10_17:17:22.56200 at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:39)
      2009-12-10_17:17:22.56200 ... 4 more
      2009-12-10_17:17:22.57200 ERROR - Fatal exception in thread Thread[ROW-READ-STAGE:96,5,main]
      2009-12-10_17:17:22.57200 java.lang.RuntimeException: java.lang.NullPointerException
      2009-12-10_17:17:22.57200 at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:53)
      2009-12-10_17:17:22.57200 at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:38)
      2009-12-10_17:17:22.57200 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2009-12-10_17:17:22.57200 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      2009-12-10_17:17:22.57200 at java.lang.Thread.run(Thread.java:636)
      2009-12-10_17:17:22.57200 Caused by: java.lang.NullPointerException
      2009-12-10_17:17:22.57200 at org.apache.cassandra.dht.OrderPreservingPartitioner$1.compare(OrderPreservingPartitioner.java:45)
      2009-12-10_17:17:22.57200 at org.apache.cassandra.dht.OrderPreservingPartitioner$1.compare(OrderPreservingPartitioner.java:42)
      2009-12-10_17:17:22.57200 at org.apache.cassandra.db.ColumnFamilyStore.getKeyRangeRaw(ColumnFamilyStore.java:1465)
      2009-12-10_17:17:22.57200 at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1506)
      2009-12-10_17:17:22.57200 at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:39)
      2009-12-10_17:17:22.57200 ... 4 more

        Attachments

        1. 623.patch
          16 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              dispalt Dan Di Spaltro
              Authors:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: