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

NPE in MeteredFlusher.run

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.7
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      Hello,

      I've been seeing this exception with Cassandra 2.0.5:

      ERROR 15:41:46,754 Exception in thread Thread[OptionalTasks:1,5,main]
      java.lang.NullPointerException
      	at org.apache.cassandra.db.MeteredFlusher.run(MeteredFlusher.java:40)
      	at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:75)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      

      Could it be that Memtable.activelyMeasuring becomes null right after the test?

        Attachments

          Activity

            People

            • Assignee:
              nff Nicolas Favre-Felix
              Reporter:
              nff Nicolas Favre-Felix
              Authors:
              Nicolas Favre-Felix
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: