zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshi Shankar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
Date Mon, 01 Aug 2016 10:22:20 GMT

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

Joshi Shankar updated ZOOKEEPER-2467:
-------------------------------------
    Attachment: ZOOKEEPER-2467.patch

> 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.6, 3.5.1
>         Environment: Linux , windows
>            Reporter: Joshi Shankar
>            Priority: Minor
>         Attachments: 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)

Mime
View raw message