Aias00 opened a new issue, #10939: URL: https://github.com/apache/rocketmq/issues/10939
## Reproduction `AbstractRemotingActivity.request` reads `request.getExtFields().get(...)` before checking whether the ext-fields map exists. A valid decoded RemotingCommand may have no ext fields at all. A request such as `PULL_MESSAGE` with `extFields == null` throws `NullPointerException` instead of returning the existing `VERSION_NOT_SUPPORTED` response for a missing `bname`. ## Expected behavior Missing or null ext fields should use the same protocol-level error path as an ext-fields map that simply lacks `bname`; the request must not be converted into an internal server error. ## Scope Guard the ext-fields lookup in `AbstractRemotingActivity` and add regressions for both normal forwarding and the SendMessageV2 field variant. -- 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]
