yuluo-yx opened a new issue, #1763: URL: https://github.com/apache/rocketmq-dashboard/issues/1763
**BUG REPORT** 1. Please describe the issue you observed: - What did you do (the steps to reproduce)? Pass a `MessageExt` whose body is null to `MessageTraceView.decodeFromTraceTransData`. Passing a null message has the same failure mode. - What did you expect to see? A message without trace payload should produce an empty trace result. - What did you see instead? The method constructs a String from `messageExt.getBody()` before checking whether the decoded text is empty. A null message or body therefore throws `NullPointerException`. 2. Please tell us about your environment: - apache/rocketmq-dashboard master - baseline commit `770822bbc812bfd0c2a94aa0128ab6f59b50d076` - JDK 17 3. Other information: The message and raw body should be checked before decoding. Existing behavior for non-empty trace payloads should remain unchanged. -- 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]
