You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Dilli Arumugam (JIRA)" <ji...@apache.org> on 2014/02/07 23:39:19 UTC
[jira] [Created] (KNOX-251) knoxcli.sh reports NullPointerException
if not give arguments
Dilli Arumugam created KNOX-251:
-----------------------------------
Summary: knoxcli.sh reports NullPointerException if not give 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
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)