You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Rakesh Kumar Singh (JIRA)" <ji...@apache.org> on 2016/10/06 10:01:20 UTC
[jira] [Updated] (ZOOKEEPER-2587) Not handled negative scenario for
redo command
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rakesh Kumar Singh updated ZOOKEEPER-2587:
------------------------------------------
Attachment: ZOOKEEPER-2587.patch
Added fix and testcase
> Not handled negative scenario for redo command
> ----------------------------------------------
>
> Key: ZOOKEEPER-2587
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2587
> Project: ZooKeeper
> Issue Type: Bug
> Components: java client
> Reporter: Rakesh Kumar Singh
> Assignee: Rakesh Kumar Singh
> Priority: Minor
> Fix For: 3.5.1, 3.5.2
>
> Attachments: ZOOKEEPER-2587.patch, ZOOKEEPER-2587.patch
>
>
> [zk: localhost:2181(CONNECTED) 2] redo -1
> Exception in thread "main" java.lang.NullPointerException
> at java.util.StringTokenizer.<init>(StringTokenizer.java:199)
> at java.util.StringTokenizer.<init>(StringTokenizer.java:221)
> at org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:219)
> at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:638)
> at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:577)
> at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360)
> at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:320)
> at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:280)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)