You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/04/16 02:30:40 UTC

[GitHub] [rocketmq] BurningCN opened a new issue #2816: fix messageArrivingListener NPE

BurningCN opened a new issue #2816:
URL: https://github.com/apache/rocketmq/issues/2816


   In the `HATest` test program, in the `buildMessageStore` method, the DefaultMessageStore object that is constructed for master and slave is passed the `messageArrivingListener` parameter is null. `ReputMessageService` does not determine whether it is null, resulting in the occurrence of NPE.
   
   截图如下:
   
   ![image](https://user-images.githubusercontent.com/43363120/114962928-3b30b000-9e9e-11eb-84a3-3b26e3be334e.png)
   
   ![image](https://user-images.githubusercontent.com/43363120/114962903-2f44ee00-9e9e-11eb-9b47-0a1c35dc65c2.png)
   


-- 
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] [rocketmq] duhenglucky commented on issue #2816: fix messageArrivingListener NPE

Posted by GitBox <gi...@apache.org>.
duhenglucky commented on issue #2816:
URL: https://github.com/apache/rocketmq/issues/2816#issuecomment-822110883


   merged


-- 
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] [rocketmq] duhenglucky closed issue #2816: fix messageArrivingListener NPE

Posted by GitBox <gi...@apache.org>.
duhenglucky closed issue #2816:
URL: https://github.com/apache/rocketmq/issues/2816


   


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