falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satish Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-429) Falcon CLI entity list command throws NPE stack trace in case of no entities
Date Mon, 05 May 2014 10:15:16 GMT
Satish Mittal created FALCON-429:
------------------------------------

             Summary: Falcon CLI entity list command throws NPE stack trace in case of no
entities
                 Key: FALCON-429
                 URL: https://issues.apache.org/jira/browse/FALCON-429
             Project: Falcon
          Issue Type: Bug
            Reporter: Satish Mittal
            Assignee: Satish Mittal
             Fix For: 0.5


When 'falcon entity -list' command is run in a cluster that doesn't have any entity of a particular
type, it throws following stack trace:

{noformat}
satish@dev2:~/install/falcon-prism$ bin/falcon entity -type process -list
java.lang.NullPointerException
	at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:350)
	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:169)
	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:119)
null
{noformat}

Typically this error will show up in an empty cluster where entities of a type are yet to
be submitted.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message