Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C9515200B67 for ; Tue, 16 Aug 2016 12:56:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C7D50160ABA; Tue, 16 Aug 2016 10:56:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 19655160AA8 for ; Tue, 16 Aug 2016 12:56:23 +0200 (CEST) Received: (qmail 92510 invoked by uid 500); 16 Aug 2016 10:56:23 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 92489 invoked by uid 99); 16 Aug 2016 10:56:23 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2016 10:56:23 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1D6002C02AA for ; Tue, 16 Aug 2016 10:56:22 +0000 (UTC) Date: Tue, 16 Aug 2016 10:56:22 +0000 (UTC) From: "Rakesh R (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 16 Aug 2016 10:56:25 -0000 [ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated ZOOKEEPER-2467: -------------------------------- Fix Version/s: (was: 3.4.9) 3.4.10 > 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: Joshi Shankar > Priority: Minor > Fix For: 3.5.3, 3.4.10 > > Attachments: ZOOKEEPER-2467-1.patch, ZOOKEEPER-2467-final.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.(Unknown Source) > at java.util.StringTokenizer.(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)