zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maoling (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ZOOKEEPER-3410) ./zkTxnLogToolkit.sh will throw the NPE and stop the process of formatting txn logs due to the data's content is null
Date Sat, 08 Jun 2019 10:30:00 GMT

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

maoling reassigned ZOOKEEPER-3410:
----------------------------------

    Assignee: maoling

> ./zkTxnLogToolkit.sh will throw the NPE and stop the process of formatting txn logs due
to the data's content is null
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3410
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3410
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.6.0
>            Reporter: maoling
>            Assignee: maoling
>            Priority: Minor
>
> [zk: 127.0.0.1:2180(CONNECTED) 26] create -t 500 /ttl_node
> 19-5-30 下午06时10分50秒 session 0x10007a75c0c0000 cxid 0x0 zxid 0x6 createSession
30000
> Exception in thread "main" java.lang.NullPointerException
>  at java.lang.String.<init>(String.java:566)
>  at org.apache.zookeeper.server.persistence.TxnLogToolkit.getDataStrFromTxn(TxnLogToolkit.java:316)
>  at org.apache.zookeeper.server.persistence.TxnLogToolkit.printTxn(TxnLogToolkit.java:272)
>  at org.apache.zookeeper.server.persistence.TxnLogToolkit.printTxn(TxnLogToolkit.java:266)
>  at org.apache.zookeeper.server.persistence.TxnLogToolkit.dump(TxnLogToolkit.java:217)
>  at org.apache.zookeeper.server.persistence.TxnLogToolkit.main(TxnLogToolkit.java:116)
> t*xnData.append(createTTLTxn.getPath() + "," + new String(createTTLTxn.getData()))*
>  *.append("," + createTTLTxn.getAcl() + "," + createTTLTxn.getParentCVersion())*
>  *.append("," + createTTLTxn.getTtl());*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message