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 2021/04/24 02:54:22 UTC

[GitHub] [pulsar] MarvinCai commented on pull request #10339: fix 10338 PersistentTopics#getMessageTTL maybe throw nullpointException

MarvinCai commented on pull request #10339:
URL: https://github.com/apache/pulsar/pull/10339#issuecomment-826023351


   > Could you show us the logs of NPE? I didn't see where there will be NPE
   
   +1, orElseGet() should cover the null case, if getTopicPolicies() return null when topic doesn't exist it'll just treated as no value present


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