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 2020/12/16 20:26:14 UTC

[GitHub] [pulsar] rdhabalia opened a new pull request #8979: [pulsar-client] Handle NPE while receiving ack for closed producer

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:
users@infra.apache.org



[GitHub] [pulsar] mwmitchell commented on pull request #8979: [pulsar-client] Handle NPE while receiving ack for closed producer

Posted by GitBox <gi...@apache.org>.
mwmitchell commented on pull request #8979:
URL: https://github.com/apache/pulsar/pull/8979#issuecomment-782742749


   Experiencing this problem on version 2.6.1. Would be great to have this fix back ported.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] rdhabalia merged pull request #8979: [pulsar-client] Handle NPE while receiving ack for closed producer

Posted by GitBox <gi...@apache.org>.
rdhabalia merged pull request #8979:
URL: https://github.com/apache/pulsar/pull/8979


   


----------------------------------------------------------------
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:
users@infra.apache.org