You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/04/25 21:15:30 UTC

[jira] Commented: (CASSANDRA-109) Missing null check for READ-REPAIR header

    [ https://issues.apache.org/jira/browse/CASSANDRA-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702757#action_12702757 ] 

Jonathan Ellis commented on CASSANDRA-109:
------------------------------------------

committed, w/ minor variation to avoid deserializing unnecessarily

> Missing null check for READ-REPAIR header
> -----------------------------------------
>
>                 Key: CASSANDRA-109
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-109
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Per Mellqvist
>            Assignee: Per Mellqvist
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: null_check.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The READ-REPAIR header is assumed to always be present which is no longer the case. This leads to a non-critical  NullPointerException in ReadVerbHandler:109 
> String repair = new String( message.getHeader(ReadCommand.DO_REPAIR) );
> A null check is needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.