[ 
https://issues.apache.org/jira/browse/STORM-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159030#comment-15159030
 ] 

ASF GitHub Bot commented on STORM-1572:
---------------------------------------

GitHub user hustfxj opened a pull request:

    https://github.com/apache/storm/pull/1142

    [STORM-1572] throw NPE when parsing the command line arguments by CLI

    $ storm kill test
    Running: /data/nfs_share/soft/jdk1.7.0_79/bin/java -client -Ddaemon.name= 
-Dstorm.options= -Dstorm.home=/data/nfs_share/soft/storm 
-Dstorm.log.dir=/home/admin/storm_logs -Djava.library.path=/usr/local/lib 
-Dstorm.conf.file= -cp 
/data/nfs_share/soft/storm/lib/servlet-api-2.5.jar:/data/nfs_share/soft/storm/lib/slf4j-api-1.7.7.jar:/data/nfs_share/soft/storm/lib/log4j-over-slf4j-1.6.6.jar:/data/nfs_share/soft/storm/lib/reflectasm-1.07-shaded.jar:/data/nfs_share/soft/storm/lib/log4j-api-2.1.jar:/data/nfs_share/soft/storm/lib/storm-core-2.0.0-SNAPSHOT.jar:/data/nfs_share/soft/storm/lib/log4j-core-2.1.jar:/data/nfs_share/soft/storm/lib/kryo-2.21.jar:/data/nfs_share/soft/storm/lib/clojure-1.7.0.jar:/data/nfs_share/soft/storm/lib/log4j-slf4j-impl-2.1.jar:/data/nfs_share/soft/storm/lib/minlog-1.2.jar:/data/nfs_share/soft/storm/lib/disruptor-3.3.2.jar:/data/nfs_share/soft/storm/lib/asm-4.0.jar:/home/admin/.storm:/data/nfs_share/soft/storm/bin
 org.apache.storm.command.KillTopology test
    Exception in thread "main" java.lang.NullPointerException
    at org.apache.storm.command.CLI$CLIBuilder.parse(CLI.java:243)
    at org.apache.storm.command.KillTopology.main(KillTopology.java:33)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hustfxj/storm 0223

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1142.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1142
    
----
commit 3af457f8cd3dec53af969a70f7f5238b4502dada
Author: xiaojian.fxj <[email protected]>
Date:   2016-02-23T15:11:44Z

    fix CLI about parsing the command line arguments

----


> throw NPE when parsing the command line arguments by CLI
> --------------------------------------------------------
>
>                 Key: STORM-1572
>                 URL: https://issues.apache.org/jira/browse/STORM-1572
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: John Fang
>            Assignee: John Fang
>            Priority: Blocker
>
> $ storm kill test
> Running: /data/nfs_share/soft/jdk1.7.0_79/bin/java -client -Ddaemon.name= 
> -Dstorm.options= -Dstorm.home=/data/nfs_share/soft/storm 
> -Dstorm.log.dir=/home/admin/storm_logs -Djava.library.path=/usr/local/lib 
> -Dstorm.conf.file= -cp 
> /data/nfs_share/soft/storm/lib/servlet-api-2.5.jar:/data/nfs_share/soft/storm/lib/slf4j-api-1.7.7.jar:/data/nfs_share/soft/storm/lib/log4j-over-slf4j-1.6.6.jar:/data/nfs_share/soft/storm/lib/reflectasm-1.07-shaded.jar:/data/nfs_share/soft/storm/lib/log4j-api-2.1.jar:/data/nfs_share/soft/storm/lib/storm-core-2.0.0-SNAPSHOT.jar:/data/nfs_share/soft/storm/lib/log4j-core-2.1.jar:/data/nfs_share/soft/storm/lib/kryo-2.21.jar:/data/nfs_share/soft/storm/lib/clojure-1.7.0.jar:/data/nfs_share/soft/storm/lib/log4j-slf4j-impl-2.1.jar:/data/nfs_share/soft/storm/lib/minlog-1.2.jar:/data/nfs_share/soft/storm/lib/disruptor-3.3.2.jar:/data/nfs_share/soft/storm/lib/asm-4.0.jar:/home/admin/.storm:/data/nfs_share/soft/storm/bin
>  org.apache.storm.command.KillTopology test
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.storm.command.CLI$CLIBuilder.parse(CLI.java:243)
>         at org.apache.storm.command.KillTopology.main(KillTopology.java:33)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to