Oliverwqcwrw opened a new issue, #4708:
URL: https://github.com/apache/rocketmq/issues/4708

   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   
   In `org.apache.rocketmq.broker.failover.EscapeBridge#getMessage`
   
   decodeMsgList will occur NPE when getMessageResult is null
   
   > 
   
           if (messageStore != null) {
                   final GetMessageResult getMessageTmpResult = 
messageStore.getMessage(innerConsumerGroupName, topic, queueId, 
            offset, 1, null);
                 List<MessageExt> list = decodeMsgList(getMessageTmpResult);
   
   
   
   org.apache.rocketmq.broker.failover.EscapeBridge#decodeMsgList
   
   
       List<MessageExt> foundList = new ArrayList<>();
           try {
               List<ByteBuffer> messageBufferList = 
getMessageResult.getMessageBufferList();
   
   - What is expected to see?
   
   it not exist potential NPE
   
   - What did you see instead?
   
   exist potential NPE
   
   2. Please tell us about your environment:
   
   develop
   
   4. Other information (e.g. detailed explanation, logs, related issues, 
suggestions on how to fix, etc):


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

Reply via email to