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


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.

Reply via email to