You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2015/12/07 08:26:11 UTC

[jira] [Updated] (CASSANDRA-9290) Fix possible NPE in Scrubber

     [ https://issues.apache.org/jira/browse/CASSANDRA-9290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefania updated CASSANDRA-9290:
--------------------------------
    Component/s: Tools

> Fix possible NPE in Scrubber
> ----------------------------
>
>                 Key: CASSANDRA-9290
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9290
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Stefania
>            Assignee: Stefania
>             Fix For: 2.0.15, 2.1.6, 2.2.0 beta 1
>
>         Attachments: 9290-2.0.txt
>
>
> In scrubber there is a possible NullPointerException introduced by CASSANDRA-9140, as discovered by the Coverity static analyzer (CID 109861):
> {code}
> 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))));
> {code}
> {{currentIndexKey}} may be null and {{bytesToHex}} expects non null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)