CPkch opened a new pull request, #2676: URL: https://github.com/apache/uniffle/pull/2676
### What changes were proposed in this pull request? Added null checks to prevent NullPointerException in `PartitionedShuffleBlockIdManager.getFinishedBlockIds()`: - Add null check for `partitionToBlockId` when shuffleId doesn't exist - Add null check for `bitmap` before calling `or()` method ### Why are the changes needed? Fix: #2672 The method was throwing NullPointerException when: 1. shuffleId data doesn't exist in the map 2. bitmap is null for a specific partition These defensive checks prevent the exception and gracefully handle edge cases. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? UT -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
