RockteMQ-AI commented on issue #1441: URL: https://github.com/apache/rocketmq-dashboard/issues/1441#issuecomment-5236483083
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** Missing topic validation in reset offset is a valid bug. Passing a null/empty topic should return HTTP 400, not cause a NullPointerException resulting in HTTP 500. **Root Cause:** No null/empty check on the `topic` field before processing the reset offset request. **Impact:** 500 error with stack trace instead of clear validation error; poor API contract. **Severity:** Medium — input validation gap. **Suggested fix:** Add `@NotBlank` or manual null/empty check on the topic field; return 400 with descriptive message. --- *Automated evaluation by github-manager* -- 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]
