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/12/31 03:08:06 UTC

[GitHub] [pulsar] mattisonchao commented on a change in pull request #13573: [ Broker ] Fix NPE when reset-cursor at a non-existent topic

mattisonchao commented on a change in pull request #13573:
URL: https://github.com/apache/pulsar/pull/13573#discussion_r776914571



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
##########
@@ -3738,6 +3738,9 @@ private Topic getTopicReference(TopicName topicName) {
         } catch (RestException e) {
             throw e;
         } catch (Exception e) {
+            if (e.getCause() == null){

Review comment:
       +1
   
   I've been thinking about why we encounter exceptions just now. thank you for the explanation.
   
   




-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org