Shoothzj commented on pull request #11347: URL: https://github.com/apache/pulsar/pull/11347#issuecomment-882604623
> thanks for addressing my comments. > > did you see this problem in production or do you have a stacktrace with an NPE to show ? Yes, I noticed the problem in prodcution. The client calls `unsubscribe` and `close` linely(or continously, orderly, sorry for my english). The `unsubsribe` success on server side, but failed on client side. Then the server call client to close, client change `ctx` to null. But for `unsubscribe` failed on client side, the client state is not `closed` or `closing`, `consumer` begin to close, but the `ctx` is already null, NPE occurred. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
