You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/12/06 10:14:54 UTC
[GitHub] [pulsar] wolfstudy opened a new pull request #5809: [Issue:5669]
Fix the ledgerID not found cause NPE
wolfstudy opened a new pull request #5809: [Issue:5669] Fix the ledgerID not found cause NPE
URL: https://github.com/apache/pulsar/pull/5809
Signed-off-by: xiaolong.ran <rx...@apache.org>
Fixes #5669
### Motivation
when `ledgers.ceilingKey` return a NULL value, we need to process the `ledgerId` is NUll case.
### Modifications
- change `long ledgerId` to `Long ledgerId` and check if `ledgerId` is NULL.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services