Technoboy- commented on issue #8078:
URL: https://github.com/apache/pulsar/issues/8078#issuecomment-694127156


   Task a look at the relative code and find that should be used if check to 
avoid throw NPE?
   ```
   if(null == sub){
      asyncResponse.resume(new RestException(Status.NOT_FOUND, "Subscription 
not found"));
      return;
   }
   ```
   
![image](https://user-images.githubusercontent.com/6297296/93455383-de244a00-f90e-11ea-9cb2-032cf60fdb93.png)
   @sijie @jiazhai 


----------------------------------------------------------------
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:
[email protected]


Reply via email to