littleorca opened a new issue #11282:
URL: https://github.com/apache/pulsar/issues/11282


   In OpReadEntry.create:
   
   >    op.readPosition = 
cursor.ledger.startReadOperationOnLedger(readPositionRef, op); // op.cursor not 
assigned yet
   >    op.cursor = cursor;
   
   In ManagedLedgerImpl.startReadOperationOnLedger:
   
   >    if (null == ledgerId) {
   >           opReadEntry.readEntriesFailed(new 
ManagedLedgerException.NoMoreEntriesToReadException("The ceilingKey(K key) 
method is used to return the " +
   >               "least key greater than or equal to the given key, or null 
if there is no such key"), null);
   >    }
   
   Back to OpReadEntry.readEntriesFailed:
   
   >    cursor.readOperationCompleted(); // NPE raised here!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to