You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Satish Mittal (JIRA)" <ji...@apache.org> on 2014/05/05 12:21:16 UTC

[jira] [Updated] (FALCON-429) Falcon CLI entity list command throws NPE stack trace in case of no entities

     [ https://issues.apache.org/jira/browse/FALCON-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Satish Mittal updated FALCON-429:
---------------------------------

    Attachment: FALCON-429.patch.txt

Attaching patch.

> 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
>
>         Attachments: FALCON-429.patch.txt
>
>
> 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)