RockteMQ-AI commented on issue #2219:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/2219#issuecomment-5300444923

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   **Root Cause:** `RealClusterProvider.toClusterVOs` calls 
`sorted(Map.Entry.comparingByKey())` on the `clusterAddrTable` entry set. A 
null cluster name key triggers NPE in the comparator. Additionally, 
`entry.getValue()` can be null (a cluster with no broker-name set), causing NPE 
when `.stream()` is invoked.
   
   **Impact:** Cluster discovery fails entirely when any NameServer response 
contains malformed topology entries, hiding valid clusters from Studio.
   
   **Severity:** medium
   
   An automated fix proposal will be generated. Reply `/approve` to proceed 
with PR generation.
   
   ---
   *Automated evaluation by github-manager-bot*


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