sabashaikh4 opened a new pull request, #9854: URL: https://github.com/apache/gravitino/pull/9854
### What changes were proposed in this pull request? Added a precondition check to ensure the namespace parameter is not null in `ListTopicFailureEvent` constructor using `Preconditions.checkNotNull()`. ### Why are the changes needed? To prevent NullPointerException and fail fast with a clear error message when null namespace is passed to the constructor. Fix: #8507 ### Does this PR introduce any user-facing change? No ### How was this patch tested? Added unit test `testNamespaceMustNotBeNull()` to verify the null check throws NullPointerException when the namespace is null. -- 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]
