Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C38DC1740A for ; Fri, 11 Sep 2015 08:23:48 +0000 (UTC) Received: (qmail 13468 invoked by uid 500); 11 Sep 2015 08:23:48 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 13419 invoked by uid 500); 11 Sep 2015 08:23:48 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 13408 invoked by uid 99); 11 Sep 2015 08:23:48 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2015 08:23:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3F158E6062 for ; Fri, 11 Sep 2015 08:23:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id d3FehujBSssP for ; Fri, 11 Sep 2015 08:23:47 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id B970E20F7B for ; Fri, 11 Sep 2015 08:23:46 +0000 (UTC) Received: (qmail 13259 invoked by uid 99); 11 Sep 2015 08:23:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2015 08:23:45 +0000 Date: Fri, 11 Sep 2015 08:23:45 +0000 (UTC) From: "Ajay Yadava (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FALCON-1443) NPE in shutdown hook 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/FALCON-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740390#comment-14740390 ] Ajay Yadava commented on FALCON-1443: ------------------------------------- +1 > NPE in shutdown hook > -------------------- > > Key: FALCON-1443 > URL: https://issues.apache.org/jira/browse/FALCON-1443 > Project: Falcon > Issue Type: Bug > Reporter: Pallavi Rao > Assignee: Pallavi Rao > Priority: Minor > Fix For: trunk > > Attachments: FALCON-1443.patch > > > When Falcon server fails to start because of invalid properties in startup/runtime properties, the shutdown hook fails with a NPE: > {code} > 2015-09-11 10:29:35,702 INFO - [main:] ~ Initializing org.apache.falcon.util.StartupProperties properties with domain falcon (ApplicationProperties:145) > 2015-09-11 10:29:35,703 ERROR - [main:] ~ Key: prism.application.services does not start with '*.' or 'falcon.' (ApplicationProperties:162) > 2015-09-11 10:29:35,706 INFO - [Thread-0:] ~ calling shutdown hook (Main:68) > 2015-09-11 10:29:35,707 ERROR - [Thread-0:] ~ Server shutdown failed with (Main:72) > java.lang.NullPointerException > at org.apache.falcon.Main$ShutDown.run(Main.java:69) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)