cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Mellqvist (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-109) Missing null check for READ-REPAIR header
Date Sat, 25 Apr 2009 18:55:30 GMT
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.


Mime
View raw message