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 NPE if avatarUrl is null when reloading feed #10957

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Apr 9, 2024

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

This PR fixes a NPE by simply making sure avatarUrl is @Nullable everywhere, and is also treated as so.
I tested and before this fix I could reproduce the crash in

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions bot added the size/small PRs with less than 50 changed lines label Apr 9, 2024
Copy link

sonarcloud bot commented Apr 9, 2024

@Stypox Stypox mentioned this pull request Apr 9, 2024
8 tasks
@AudricV AudricV added bug Issue is related to a bug feed Issue is related to the feed labels Apr 9, 2024
@Stypox Stypox merged commit d9da84c into TeamNewPipe:release-0.27.0 Apr 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug feed Issue is related to the feed size/small PRs with less than 50 changed lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants