RockteMQ-AI commented on issue #10780:
URL: https://github.com/apache/rocketmq/issues/10780#issuecomment-5163824736

   **Issue Evaluation**
   
   Category: `type/bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase 
(`develop@eddb235c1bd8`).
   
   **Root Cause:** `ClusterMessageService.batchAckMessage(...)` calls 
`handleList.get(0)` at line 164 without checking if the list is empty. When 
`handleList` is empty, this throws `IndexOutOfBoundsException`.
   
   **Impact:** Batch ack operations fail with an uncontrolled exception when no 
handles are provided.
   
   **Severity:** medium — requires an empty handle list to trigger, but the 
failure is uncontrolled.
   
   **File:** 
`proxy/src/main/java/org/apache/rocketmq/proxy/service/message/ClusterMessageService.java`
 (lines 159-168)
   
   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