[ https://issues.apache.org/jira/browse/CASSANDRA-11962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulo Motta reassigned CASSANDRA-11962: --------------------------------------- Assignee: Paulo Motta > Non-fatal NPE during concurrent repair check > -------------------------------------------- > > Key: CASSANDRA-11962 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11962 > Project: Cassandra > Issue Type: Bug > Reporter: Robert Stupp > Assignee: Paulo Motta > Priority: Minor > > "Usual" checks for multiple repairs result in this exception in the log file: > {code} > ERROR [ValidationExecutor:6] 2016-06-06 07:56:23,530 CassandraDaemon.java:222 > - Exception in thread Thread[ValidationExecutor:6,1,main] > java.lang.RuntimeException: Cannot start multiple repair sessions over the > same sstables > at > org.apache.cassandra.db.compaction.CompactionManager.getSSTablesToValidate(CompactionManager.java:1325) > ~[main/:na] > at > org.apache.cassandra.db.compaction.CompactionManager.doValidationCompaction(CompactionManager.java:1215) > ~[main/:na] > at > org.apache.cassandra.db.compaction.CompactionManager.access$700(CompactionManager.java:81) > ~[main/:na] > at > org.apache.cassandra.db.compaction.CompactionManager$11.call(CompactionManager.java:844) > ~[main/:na] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_91] > {code} > However, I saw this one: > {code} > ERROR [ValidationExecutor:6] 2016-06-06 07:56:25,002 CassandraDaemon.java:222 > - Exception in thread Thread[ValidationExecutor:6,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.service.ActiveRepairService$ParentRepairSession.getActiveSSTables(ActiveRepairService.java:495) > ~[main/:na] > at > org.apache.cassandra.service.ActiveRepairService$ParentRepairSession.access$300(ActiveRepairService.java:451) > ~[main/:na] > at > org.apache.cassandra.service.ActiveRepairService.currentlyRepairing(ActiveRepairService.java:338) > ~[main/:na] > at > org.apache.cassandra.db.compaction.CompactionManager.getSSTablesToValidate(CompactionManager.java:1320) > ~[main/:na] > at > org.apache.cassandra.db.compaction.CompactionManager.doValidationCompaction(CompactionManager.java:1215) > ~[main/:na] > at > org.apache.cassandra.db.compaction.CompactionManager.access$700(CompactionManager.java:81) > ~[main/:na] > at > org.apache.cassandra.db.compaction.CompactionManager$11.call(CompactionManager.java:844) > ~[main/:na] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_91] > {code} > Looks like there is no entry for {{cfId}} in {{getActiveSStables}} at {{for > (SSTableReader sstable : columnFamilyStores.get(cfId).getSSTables())}}. > (against trunk) -- This message was sent by Atlassian JIRA (v6.3.4#6332)