Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Null Pointer Exception and Improve Handling for Missing Config In…
…dex (#1234) (#1235) This PR addresses two issues to enhance robustness in the IndexManagement class: * Null Check for Candidate Result Aliases: * Added a null check for candidateResultAliases in updateCustomResultIndexMapping to prevent NullPointerExceptions. * Graceful Handling for Missing Config Index: * Modified searchConfigs to return an empty list instead of throwing a ResourceNotFoundException when the config index does not exist. Testing: * Verified that NullPointerExceptions are prevented and the system gracefully handles cases where the config index does not exist. (cherry picked from commit 2843d1b) Signed-off-by: Kaituo Li <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information