rdhabalia opened a new pull request #8979: URL: https://github.com/apache/pulsar/pull/8979
### Motivation Handle NPE when client receives ack for published message by a already closed producer. ``` [pulsar-client-io-1-1] WARN ClientCnx - [id: 0xcf858ea5, L:/1.1.1.1:1111 - R:pulsar-broker1.uswest.com/2.2.2.2:6651] Exception caught: null java.lang.NullPointerException: null at org.apache.pulsar.client.impl.ClientCnx.handleSendReceipt(ClientCnx.java:379) ~[?] at org.apache.pulsar.shade.org.apache.pulsar.common.api.PulsarDecoder.channelRead(PulsarDecoder.java:189) ~[?] at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:356) ~[?] at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[?] ``` ---------------------------------------------------------------- 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: us...@infra.apache.org