Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 28238 invoked from network); 25 Apr 2009 18:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Apr 2009 18:55:51 -0000 Received: (qmail 47041 invoked by uid 500); 25 Apr 2009 18:55:51 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 47013 invoked by uid 500); 25 Apr 2009 18:55:51 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 46934 invoked by uid 99); 25 Apr 2009 18:55:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 18:55:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 18:55:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D7D7234C4B0 for ; Sat, 25 Apr 2009 11:55:30 -0700 (PDT) Message-ID: <1392177524.1240685730447.JavaMail.jira@brutus> Date: Sat, 25 Apr 2009 11:55:30 -0700 (PDT) From: "Per Mellqvist (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Created: (CASSANDRA-109) Missing null check for READ-REPAIR header MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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.