You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2014/02/08 16:14:19 UTC

[jira] [Assigned] (KNOX-251) knoxcli.sh reports NullPointerException if not given arguments

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

Larry McCay reassigned KNOX-251:
--------------------------------

    Assignee: Larry McCay

> knoxcli.sh reports NullPointerException if not given arguments
> --------------------------------------------------------------
>
>                 Key: KNOX-251
>                 URL: https://issues.apache.org/jira/browse/KNOX-251
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.4.0
>            Reporter: Dilli Arumugam
>            Assignee: Larry McCay
>             Fix For: 0.4.0
>
>
> <GATWAY_HOME> bin/knoxcli.sh
> Reports NullPointerException with the following stacktrace.
> Starting KnoxCLI 
> java.lang.NullPointerException
> 	at org.apache.hadoop.gateway.util.KnoxCLI.run(KnoxCLI.java:81)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.hadoop.gateway.util.KnoxCLI.main(KnoxCLI.java:474)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.hadoop.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:70)
> 	at org.apache.hadoop.gateway.launcher.Invoker.invoke(Invoker.java:39)
> 	at org.apache.hadoop.gateway.launcher.Command.run(Command.java:101)
> 	at org.apache.hadoop.gateway.launcher.Launcher.run(Launcher.java:72)
> 	at org.apache.hadoop.gateway.launcher.Launcher.main(Launcher.java:49)
> There is no NPE if an argument is passed as in
> bin/knoxcli.sh --help



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)