yuluo-yx opened a new issue, #1764:
URL: https://github.com/apache/rocketmq-dashboard/issues/1764

   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (the steps to reproduce)?
   
   Construct a `DlqMessageExcelModel` from a `MessageExt` that has no 
properties or no message body.
   
   - What did you expect to see?
   
   The DLQ export should still be generated, with empty cells for fields that 
are absent.
   
   - What did you see instead?
   
   The constructor calls `messageExt.getProperties().toString()` and creates a 
String from `messageExt.getBody()` without null checks. Either absent field 
causes `NullPointerException` and aborts the export.
   
   2. Please tell us about your environment:
   
   - apache/rocketmq-dashboard master
   - baseline commit `770822bbc812bfd0c2a94aa0128ab6f59b50d076`
   - JDK 17
   
   3. Other information:
   
   The model should normalize absent optional fields to empty strings while 
preserving existing UTF-8 decoding for non-empty bodies.


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