Nicolas Favre-Felix created CASSANDRA-6820:
----------------------------------------------

             Summary: NPE in MeteredFlusher.run
                 Key: CASSANDRA-6820
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6820
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Nicolas Favre-Felix
            Priority: Minor


Hello,

I've been seeing this exception with Cassandra 2.0.5:

{code}
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)
{code}

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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to