fujian-zfj opened a new pull request, #8064: URL: https://github.com/apache/rocketmq/pull/8064
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. --> ### Which Issue(s) This PR Fixes Fixes #8061 ### Brief Description I found a npe bug in method getAndCreateChannel. It may caused by 'getAndCreateChannelAsync(addr).awaitUninterruptibly()' in method getAndCreateChannel. Since channelFuture has got from getAndCreateChannelAsync and is judged not null, why not use channelFuture instead of getAndCreateChannelAsync again? ### How Did You Test This Change? <!-- In order to ensure the code quality of Apache RocketMQ, we expect every pull request to have undergone thorough testing. --> -- 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: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org