Aias00 opened a new issue, #908:
URL: https://github.com/apache/rocketmq-dashboard/issues/908

   ### What happened?
   
   `RocketMQClientProvider` iterates producer and consumer connection sets and 
passes each entry directly to `toConnectionVO`. If RocketMQ returns a malformed 
connection set containing a null `Connection`, `toConnectionVO` dereferences it 
and the whole Studio client connection list can fail with 
`NullPointerException`.
   
   ### Location
   
   - 
`server/src/main/java/org/apache/rocketmq/studio/rocketmq/RocketMQClientProvider.java`
   
   ### Expected behavior
   
   The provider should skip null connection entries and continue rendering 
valid client connections.
   
   ### Scope
   
   This is in the RocketMQ Studio CLIENT-01 path for Remoting client connection 
discovery.
   
   ### Suggested fix
   
   Guard null `Connection` entries in both producer and consumer scans and add 
provider unit coverage.


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