Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7DEA10C46 for ; Tue, 24 Dec 2013 23:07:50 +0000 (UTC) Received: (qmail 49454 invoked by uid 500); 24 Dec 2013 23:07:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49427 invoked by uid 500); 24 Dec 2013 23:07:50 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 49419 invoked by uid 99); 24 Dec 2013 23:07:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Dec 2013 23:07:50 +0000 Date: Tue, 24 Dec 2013 23:07:50 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10231) Potential NPE in HBaseFsck#checkMetaRegion() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-10231: ----------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) We must mark issues 'Resolved' once commits happen. > Potential NPE in HBaseFsck#checkMetaRegion() > -------------------------------------------- > > Key: HBASE-10231 > URL: https://issues.apache.org/jira/browse/HBASE-10231 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Minor > Fix For: 0.98.0, 0.96.2, 0.99.0 > > Attachments: 10231-v1.txt, 10231-v2.txt > > > metaHbckInfo is initialized to null and assigned when metaRegions is not empty. > However, it is dereferenced unconditionally later (line 2710): > {code} > // try fix it (treat is a dupe assignment) > HBaseFsckRepair.fixMultiAssignment(admin, metaHbckInfo.metaEntry, servers); > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)