You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pallavi Rao (JIRA)" <ji...@apache.org> on 2015/09/11 08:34:45 UTC

[jira] [Created] (FALCON-1443) NPE in shutdown hook

Pallavi Rao created FALCON-1443:
-----------------------------------

             Summary: 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


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)