Skip to content

Fix NPE in CatShardsRequestTests on version bump#16589

Closed
dbwiddis wants to merge 1 commit intoopensearch-project:mainfrom
dbwiddis:fix-null-array-bug
Closed

Fix NPE in CatShardsRequestTests on version bump#16589
dbwiddis wants to merge 1 commit intoopensearch-project:mainfrom
dbwiddis:fix-null-array-bug

Conversation

@dbwiddis
Copy link
Copy Markdown
Member

@dbwiddis dbwiddis commented Nov 7, 2024

Description

Initializes the indices array with non-null values to prevent NPE.

Related Issues

Resolves #16571

Check List

  • Functionality includes testing.
  • [ ] API changes companion pull request created, if applicable.
  • [ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Daniel Widdis <widdis@gmail.com>
@dbwiddis
Copy link
Copy Markdown
Member Author

dbwiddis commented Nov 7, 2024

Actually.... this is the wrong fix. The array is intended to be null, the issue is 2.18 branch still has CURRENT causing it to fail on 2.18.1. So I think we just need to backport something there.

@dbwiddis dbwiddis closed this Nov 7, 2024
@dbwiddis dbwiddis deleted the fix-null-array-bug branch November 7, 2024 16:22
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 7, 2024

❌ Gradle check result for 16eb2dc: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant