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

[Health] Fix NullPointerException when reading NUTRITION #1103

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

andnlv
Copy link
Contributor

@andnlv andnlv commented Dec 25, 2024

This PR is intended to fix issue described in #950
NullPointerException when reading Nutrition from Health Connect

More specifically, the issue described in this comment

To fix the issue I simply remove non-null check

@iarata
Copy link
Contributor

iarata commented Jan 4, 2025

Thanks for the PR!
In the example app I was not able to reproduce the NullPointerException but still good to pre-check the name for null.

@iarata iarata changed the base branch from master to health-12/950-nullpoint January 4, 2025 22:11
@iarata iarata merged commit 97ad00d into cph-cachet:health-12/950-nullpoint Jan 4, 2025
@iarata iarata mentioned this pull request Jan 15, 2025
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