Before Creating the Bug Report
Runtime platform environment
mac os
RocketMQ version
5.1.3
JDK Version
java11
Describe the Bug
Set addressableMessageQueueSet = buildAddressableSet(ctx, mqSet);
addressableMessageQueueSet can be null when Function buildAddressableSet catch exception
Map<String, List> messageQueueSetMap = buildAddressableMapByBrokerName(addressableMessageQueueSet);
in function buildAddressableMapByBrokerName, null will cause NTE
Steps to Reproduce
Specially handle the returned null and print the log
What Did You Expect to See?
no exception
What Did You See Instead?
null pointer exception
Additional Context
No response