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 E04B710888 for ; Wed, 17 Jul 2013 23:48:50 +0000 (UTC) Received: (qmail 74871 invoked by uid 500); 17 Jul 2013 23:48:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74824 invoked by uid 500); 17 Jul 2013 23:48:49 -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 74747 invoked by uid 99); 17 Jul 2013 23:48:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 23:48:49 +0000 Date: Wed, 17 Jul 2013 23:48:49 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-8975) NPE/HTTP 500 when opening the master's web UI too early MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jean-Daniel Cryans created HBASE-8975: ----------------------------------------- Summary: NPE/HTTP 500 when opening the master's web UI too early Key: HBASE-8975 URL: https://issues.apache.org/jira/browse/HBASE-8975 Project: HBase Issue Type: Bug Reporter: Jean-Daniel Cryans Assignee: Jean-Daniel Cryans Fix For: 0.98.0, 0.95.2 I'm getting an ugly NPE when trying to open the master's web UI too fast after starting it: {noformat} java.lang.NullPointerException at org.apache.hadoop.hbase.master.HMaster.getCoprocessors(HMaster.java:2053) at org.apache.hadoop.hbase.master.HMaster.getClusterStatus(HMaster.java:2003) at org.apache.hadoop.hbase.tmpl.master.BackupMasterStatusTmplImpl.renderNoFlush(BackupMasterStatusTmplImpl.java:39) at org.apache.hadoop.hbase.tmpl.master.BackupMasterStatusTmpl.renderNoFlush(BackupMasterStatusTmpl.java:111) at org.apache.hadoop.hbase.tmpl.master.MasterStatusTmplImpl.renderNoFlush(MasterStatusTmplImpl.java:237) at org.apache.hadoop.hbase.tmpl.master.MasterStatusTmpl.renderNoFlush(MasterStatusTmpl.java:376) at org.apache.hadoop.hbase.tmpl.master.MasterStatusTmpl.render(MasterStatusTmpl.java:366) at org.apache.hadoop.hbase.master.MasterStatusServlet.doGet(MasterStatusServlet.java:92) ... {noformat} At that point the ServerManager == null. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira