You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the error, it is due to the fact that the entryId has not been assigned
java.lang.NullPointerException
at org.apache.bookkeeper.client.PendingAddOp.initiate(PendingAddOp.java:195)
at org.apache.bookkeeper.client.LedgerHandleAdv$2.safeRun(LedgerHandleAdv.java:216)
I have marked the issue as blocker because it concerns the main function of BK, that is "addEntry"
The text was updated successfully, but these errors were encountered:
The signature of asyncAddEntry is wrong, it does not throw BKException as it is an async function
public void asyncAddEntry(final long entryId, final byte[] data, final int offset, final int length,
final AddCallback cb, final Object ctx) throws BKException
It turns out on 4.5 that "asyncAddEntry" fails with NPE with LedgerHandler created with createLedgerAdv
This is a simple code to reproduce the error
This is the error, it is due to the fact that the entryId has not been assigned
I have marked the issue as blocker because it concerns the main function of BK, that is "addEntry"
The text was updated successfully, but these errors were encountered: