Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing bug to prevent NullPointerException while doing PUT mappings #2580

Closed
wants to merge 4 commits into from

Conversation

oaganesh
Copy link

@oaganesh oaganesh commented Mar 5, 2025

Description

Following code prevents the state of a NullPointerException from occurring while doing PUT mappings. The expected behavior is to block the update by telling the user that we cannot update the mapping.

Related Issues

Resolves #2556

Check List

  • [ ✔️ ] New functionality includes testing.
  • [ ✔️ ] New functionality has been documented.
  • [✔️ ] API changes companion pull request created.
  • [✔️ ] Commits are signed per the DCO using --signoff.
  • [ ✔️ ] Public documentation issue/PR created.

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 ✔️ .

@navneet1v navneet1v changed the title Updating NPE bug fixes for #2556 Signed-off-by: Arun Ganesh <[email protected]> Updating NPE bug fixes for #2556 Mar 5, 2025
@navneet1v navneet1v changed the title Updating NPE bug fixes for #2556 Fixing bug to prevent NullPointerException while doing PUT mappings Mar 5, 2025
@navneet1v
Copy link
Collaborator

@oaganesh please signoff the commits correctly and also you are updating the faiss and nmslib commits. Please remove them from this PR

@navneet1v
Copy link
Collaborator

Can you add the IT for this change, also a sample I/O request in the description of the PR on what will be the actual exception shown to user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] NPE while doing put mappings
2 participants