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;
}
```

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