Description
Just saw the following NPE on trunk. Means, that metaData from CFMetaData metaData = compaction.getCompactionInfo().getCFMetaData(); is null. A simple if (metaData == null) continue; should fix this.
Caused by: java.lang.NullPointerException: null
at org.apache.cassandra.metrics.CompactionMetrics$2.getValue(CompactionMetrics.java:103) ~[main/:na]
at org.apache.cassandra.metrics.CompactionMetrics$2.getValue(CompactionMetrics.java:78) ~[main/:na]
Attachments
Issue Links
- is related to
-
CASSANDRA-12462 NullPointerException in CompactionInfo.getId(CompactionInfo.java:65)
- Resolved