TEOTEO520 opened a new pull request, #6524:
URL: https://github.com/apache/gravitino/pull/6524

   ### What changes were proposed in this pull request?
   
   Filters out any entries with null keys/values before collection, to prevent 
potential NullPointerExceptions when accessing entries
   
   
   ### Why are the changes needed?
   
   Due to the cancellation of the operation to reload the topic to fill in its 
other properties after the alter operation in 
https://github.com/apache/gravitino/issues/3729, there is a risk that the value 
of the downstream property may return null, which in turn could trigger a 
NullPointerException in the properties() method of the Topic class.
   
   Fix: [#(issue)](https://github.com/apache/gravitino/issues/6523)
   
   ### Does this PR introduce _any_ user-facing change?
   
   no
   
   ### How was this patch tested?
   
   no need to add test
   


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