zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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 Tue, 09 Jul 2019 16:30:00 GMT

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

Hudson commented on ZOOKEEPER-3410:
-----------------------------------

FAILURE: Integrated in Jenkins build ZooKeeper-trunk #607 (See [https://builds.apache.org/job/ZooKeeper-trunk/607/])
ZOOKEEPER-3410: zkTxnLogToolkit.sh will throw the NPE and stop the (andor: rev 433cf7e2b660fce3c73eb011452814f7084ff196)
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/server/persistence/TxnLogToolkit.java


> ./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
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> [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