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 Guo (JIRA)" <ji...@apache.org> on 2012/09/03 12:45:08 UTC

[jira] [Updated] (BOOKKEEPER-383) NPE in BookieJournalTest

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

Sijie Guo updated BOOKKEEPER-383:
---------------------------------

    Attachment: BOOKKEEPER-383.diff

attach a patch to avoid garbage collecting when zookeeper handle is null.
                
> NPE in BookieJournalTest
> ------------------------
>
>                 Key: BOOKKEEPER-383
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-383
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>            Priority: Minor
>             Fix For: 4.2.0
>
>         Attachments: BOOKKEEPER-383.diff, BOOKKEEPER-383.diff
>
>
> Running org.apache.bookkeeper.bookie.BookieJournalTest
> Exception in thread "GarbageCollectorThread" java.lang.NullPointerException
> 	at org.apache.bookkeeper.meta.AbstractZkLedgerManager.asyncGetLedgersInSingleNode(AbstractZkLedgerManager.java:191)
> 	at org.apache.bookkeeper.meta.AbstractZkLedgerManager.getLedgersInSingleNode(AbstractZkLedgerManager.java:268)
> 	at org.apache.bookkeeper.meta.FlatLedgerManager.garbageCollectLedgers(FlatLedgerManager.java:144)
> 	at org.apache.bookkeeper.bookie.GarbageCollectorThread.doGcLedgers(GarbageCollectorThread.java:226)
> The exception is found in https://builds.apache.org/job/bookkeeper-trunk/671/console

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira