You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/10/06 11:37:20 UTC

[jira] [Commented] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value

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

Hadoop QA commented on ZOOKEEPER-2467:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12831939/ZOOKEEPER-2467.patch
  against trunk revision 8d0154bcc21e58b6166eb5e360f72ce37699e072.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 2.0.3) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3467//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3467//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3467//console

This message is automatically generated.

> NullPointerException when redo Command is passed negative value
> ---------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2467
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.8, 3.5.2
>         Environment: Linux , windows
>            Reporter: Joshi Shankar
>            Assignee: Rakesh Kumar Singh
>            Priority: Minor
>             Fix For: 3.4.10, 3.5.3
>
>         Attachments: ZOOKEEPER-2467-1.patch, ZOOKEEPER-2467-final.patch, ZOOKEEPER-2467.patch, ZOOKEEPER-2467.patch, ZOOKEEPER-2467.patch
>
>
> When negative value of argument is passed to redo command .
> [zk: localhost:2181(CONNECTED) 0] redo -1
> Exception in thread "main" java.lang.NullPointerException
>         at java.util.StringTokenizer.<init>(Unknown Source)
>         at java.util.StringTokenizer.<init>(Unknown Source)
>         at org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227)
>         at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645)
>         at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588)
>         at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360)
>         at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323)
>         at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)



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