-
Type:
Bug
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Fix Version/s: 2.0.15, 2.1.6, 2.2.0 beta 1
-
Component/s: Legacy/Tools
-
Labels:None
-
Severity:Normal
In scrubber there is a possible NullPointerException introduced by CASSANDRA-9140, as discovered by the Coverity static analyzer (CID 109861):
throw new IOError(new IOException(String.format("Key from data file (%s) does not match key from index file (%s)", ByteBufferUtil.bytesToHex(key.getKey()), ByteBufferUtil.bytesToHex(currentIndexKey))));
currentIndexKey may be null and bytesToHex expects non null.
- is related to
-
CASSANDRA-9140 Scrub should handle corrupted compressed chunks
-
- Resolved
-
- links to