shibd commented on PR #23102:
URL: https://github.com/apache/pulsar/pull/23102#issuecomment-2262852009

   hi, @TakaHiR07 
   
   
   
   I think the reason for the loss of exception is caused by the cast here. and 
then the type cast caused an exception(NullPoint -> ManagedLedgerException)
   
   
https://github.com/apache/pulsar/blob/c9c5bb49b05118429426a4589cd8f57c47980318/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerFactoryImpl.java#L452
   
   Can you also help fix it here?
   
   ```java
         
callback.openLedgerFailed(ManagedLedgerException.getManagedLedgerException(exception.getCause()),
 ctx);
   ```
   


-- 
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