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

Fix NullPointerException with completed instances in GetInstancesByQuery. #111

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

henrili
Copy link
Contributor

@henrili henrili commented Aug 9, 2024

My previous PR introduced a NullPointerException for completed instances, which caused GetInstancesByQuery to only return 500 Server error when there are complete instances in the storage. This PR fixes this issue.

Description

Added null conditional to the problematic object.

Related Issue(s)

None

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@ivarne ivarne merged commit 26ff66b into Altinn:main Aug 9, 2024
1 check passed
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.

2 participants