Null Avatar URL Exception On PeerTube / Youtube Subscriptions with a Blank Avatar #10863
Closed
6 tasks done
Labels
bug
Issue is related to a bug
channel
Anything to do with creator channels in the app
feed
Issue is related to the feed
multiservice
Issues related to multiple services
requires extractor change
This issue requires a change to the extractor
Checklist
Affected version
0.26.1
Steps to reproduce the bug
Expected behavior
The feed finishes refreshing without throwing an exception for subscriptions with blank / default avatars.
Actual behavior
The feed finishes loading, and then throws a Null Pointer exception from attempting to gather information about a subscription with a blank avatar.
Screenshots/Screen recordings
No response
Logs
Exception
Exceptions (5)
Crash log 1
Affected Android/Custom ROM version
Android 12
Affected device model
Samsung Galaxy A21 SM-A215U
Additional information
I have a suspicion that this issue is identical to #10778. The stack trace both resolve to the same Null Pointer Exception:
Caused by: java.lang.NullPointerException: (info as? ChannelInfo)?.…?: subscription.avatarUrl must not be null
issue.The fact that #10778 is caused by a failure to fetch a blank avatar from a YouTube subscription, and in this case the same exception is thrown on a PeerTube channel might indicate that there need to be more robust extractor methods to handle this scenario in the future especially if it turns out to be a cross service issue.
thank you so much for your time and beautiful work!!
The text was updated successfully, but these errors were encountered: