You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ajay Yadava (JIRA)" <ji...@apache.org> on 2015/09/11 10:23:45 UTC
[jira] [Commented] (FALCON-1443) NPE in shutdown hook
[ 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)