Bug: Recurring exceptions
Status: Resolved
Priority: Normal
Resolution: Invalid
Created: 17/Sep/20 08:25
Resolved: 17/Sep/20 09:19

This happens with 3.11.7.

The following exceptions are logged every minute or so:

ERROR [CompactionExecutor:271] 2020-09-17 08:18:58,586 CassandraDaemon.java:235 - Exception in thread Thread[CompactionExecutor:271,1,main]
java.lang.IllegalArgumentException: Self-suppression not permitted
 at java.lang.Throwable.addSuppressed(Throwable.java:1072) ~[na:1.8.0_262]
 at org.apache.cassandra.utils.Throwables.merge(Throwables.java:44) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.lifecycle.Helpers.prepareForObsoletion(Helpers.java:140) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.lifecycle.LifecycleTransaction.doPrepare(LifecycleTransaction.java:206) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.prepareToCommit(Transactional.java:168) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.io.sstable.SSTableRewriter.doPrepare(SSTableRewriter.java:393) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.prepareToCommit(Transactional.java:168) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.doPrepare(CompactionAwareWriter.java:113) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.prepareToCommit(Transactional.java:168) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.utils.concurrent.Transactional$AbstractTransactional.finish(Transactional.java:179) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.finish(CompactionAwareWriter.java:123) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:223) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:85) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:61) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:272) ~[apache-cassandra-3.11.7.jar:3.11.7]
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_262]
 at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_262]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_262]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_262]
 at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:84) [apache-cassandra-3.11.7.jar:3.11.7]
 at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_262]
Caused by: java.lang.NullPointerException: null

and

ERROR [CompactionExecutor:272] 2020-09-17 08:18:20,615 CassandraDaemon.java:235 - Exception in thread Thread[CompactionExecutor:272,1,main]
java.lang.NullPointerException: null
 
Currently trying a full repair to see if it fixes the issue.

Oskar Liljeblad