NPE in AntiEntropyService.getNeighbors
--------------------------------------
Key: CASSANDRA-1028
URL: https://issues.apache.org/jira/browse/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]
[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(FutureTask.java:222)
[junit] at java.util.concurrent.FutureTask.get(FutureTask.java:83)
[junit] at
org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:87)
[junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
[junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[junit] at java.lang.Thread.run(Thread.java:637)
[junit] Caused by: java.lang.NullPointerException
[junit] at
java.util.AbstractCollection.addAll(AbstractCollection.java:303)
[junit] at
org.apache.cassandra.service.AntiEntropyService.getNeighbors(AntiEntropyService.java:151)
[junit] at
org.apache.cassandra.service.AntiEntropyService.rendezvous(AntiEntropyService.java:176)
[junit] at
org.apache.cassandra.service.AntiEntropyService.access$100(AntiEntropyService.java:86)
[junit] at
org.apache.cassandra.service.AntiEntropyService$Validator.call(AntiEntropyService.java:487)
[junit] at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[junit] at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[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.