cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Created: (CASSANDRA-1028) NPE in AntiEntropyService.getNeighbors
Date Tue, 27 Apr 2010 15:25:34 GMT
NPE in AntiEntropyService.getNeighbors

                 Key: CASSANDRA-1028
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Jonathan Ellis
            Assignee: Stu Hood
             Fix For: 0.7

Sometimes, but not always, I see this during a test run:

    [junit] Testsuite: org.apache.cassandra.service.AntiEntropyServiceTest
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 3.189 sec
    [junit] ------------- Standard Error -----------------
    [junit] ERROR 10:19:09,743 Error in executor futuretask
    [junit] java.util.concurrent.ExecutionException: java.lang.NullPointerException
    [junit] 	at java.util.concurrent.FutureTask$Sync.innerGet(
    [junit] 	at java.util.concurrent.FutureTask.get(
    [junit] 	at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$
    [junit] 	at
    [junit] Caused by: java.lang.NullPointerException
    [junit] 	at java.util.AbstractCollection.addAll(
    [junit] 	at org.apache.cassandra.service.AntiEntropyService.getNeighbors(
    [junit] 	at org.apache.cassandra.service.AntiEntropyService.rendezvous(
    [junit] 	at org.apache.cassandra.service.AntiEntropyService.access$100(
    [junit] 	at org.apache.cassandra.service.AntiEntropyService$
    [junit] 	at java.util.concurrent.FutureTask$Sync.innerRun(
    [junit] 	at
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    [junit] 	... 2 more
    [junit] ------------- ---------------- ---------------

Ideally it would be nice if this could cause an actual test failure when it happens.  Not
sure how feasible that is.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message