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

Ivan Kelly commented on BOOKKEEPER-46:
--------------------------------------

Possibly a duplicate of BOOKKEEPER-40? Which object is null when the NPE 
triggers?

> Wait in BookieClietTest does not wait enough in some runs
> ---------------------------------------------------------
>
>                 Key: BOOKKEEPER-46
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-46
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>
> In testWriteGaps, the following excerpt of code can generate an NPE:
> {noformat}
>         synchronized (arc) {
>             bc.readEntry(addr, 1, 1, recb, arc);
>             arc.wait(1000);
>             assertEquals(0, arc.rc);
>             assertEquals(1, arc.entry.getInt());
>         }
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to