You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by sijie <gi...@git.apache.org> on 2017/06/29 19:12:26 UTC

[GitHub] bookkeeper issue #218: NPE at TestLongZkLedgerIdGenerator.testGenerateLedger...

GitHub user sijie opened an issue:

    https://github.com/apache/bookkeeper/issues/218

    NPE at TestLongZkLedgerIdGenerator.testGenerateLedgerId

    
    **BUG REPORT**
    
    1. Please describe the issue you observed:
    
    - What did you do?
    
    I found the failed test case in CI build. https://builds.apache.org/job/bookkeeper-precommit-pullrequest/90
    
    - What did you expect to see?
    
    The test should pass.
    
    - What did you see instead?
    
    `
    2017-06-28 23:28:33,840 - ERROR - [Thread-4:NIOServerCnxnFactory$1@92] - Thread Thread[Thread-4,5,main] died
    java.lang.NullPointerException
    	at org.apache.bookkeeper.meta.LongZkLedgerIdGenerator.generateLongLedgerId(LongZkLedgerIdGenerator.java:198)
    	at org.apache.bookkeeper.meta.LongZkLedgerIdGenerator.createHOBPathAndGenerateId(LongZkLedgerIdGenerator.java:147)
    	at org.apache.bookkeeper.meta.LongZkLedgerIdGenerator.generateLongLedgerId(LongZkLedgerIdGenerator.java:186)
    	at org.apache.bookkeeper.meta.LongZkLedgerIdGenerator.generateLongLedgerId(LongZkLedgerIdGenerator.java:182)
    	at org.apache.bookkeeper.meta.LongZkLedgerIdGenerator.generateLedgerId(LongZkLedgerIdGenerator.java:320)
    `
    


----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---