TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.7k stars 3.08k forks source link

[android] Newpipe crashes after opening channel avatar #11692

Closed kuroigg closed 1 week ago

kuroigg commented 1 week ago

Checklist

Affected version

0.27.2

Steps to reproduce the bug

  1. Go to a youtube channel's about section.
  2. Click on avatars

Expected behavior

Newpipe shouldn't crash.

Actual behavior

It crashes after i open the avatar in the browser.

Screenshots/Screen recordings

https://github.com/user-attachments/assets/0f53a3f4-1c8d-4e49-8107-aae10fa03465

Logs

{"user_action":"ui error","request":"ACRA report","content_language":"en-GB","content_country":"IN","app_language":"en","service":"none","package":"org.schabi.newpipe","version":"0.27.2","os":"Linux samsung/m33xins/m33x:14/UP1A.231005.007/M336BUXXU5DWK6:user/release-keys 14 - 34","time":"2024-11-10 14:56","exceptions":["android.os.BadParcelableException: Parcelable encountered IOException writing serializable object (name = org.schabi.newpipe.extractor.channel.ChannelInfo)\n\tat android.os.Parcel.writeSerializable(Parcel.java:2809)\n\tat android.os.Parcel.writeValue(Parcel.java:2575)\n\tat android.os.Parcel.writeValue(Parcel.java:2374)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1389)\n\tat android.os.Parcel.writeBundle(Parcel.java:1379)\n\tat android.os.Parcel.writeValue(Parcel.java:2491)\n\tat android.os.Parcel.writeValue(Parcel.java:2381)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1389)\n\tat android.os.Parcel.writeBundle(Parcel.java:1379)\n\tat android.os.Parcel.writeValue(Parcel.java:2491)\n\tat android.os.Parcel.writeValue(Parcel.java:2381)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1389)\n\tat android.os.Parcel.writeBundle(Parcel.java:1379)\n\tat android.os.Parcel.writeValue(Parcel.java:2491)\n\tat android.os.Parcel.writeValue(Parcel.java:2381)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1389)\n\tat android.os.Parcel.writeBundle(Parcel.java:1379)\n\tat android.os.Parcel.writeValue(Parcel.java:2491)\n\tat android.os.Parcel.writeValue(Parcel.java:2381)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1389)\n\tat android.os.Parcel.writeBundle(Parcel.java:1379)\n\tat android.os.Parcel.writeValue(Parcel.java:2491)\n\tat android.os.Parcel.writeValue(Parcel.java:2381)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1389)\n\tat android.os.Parcel.writeBundle(Parcel.java:1379)\n\tat android.os.Parcel.writeValue(Parcel.java:2491)\n\tat android.os.Parcel.writeValue(Parcel.java:2381)\n\tat android.os.BaseBundle.dumpStats(BaseBundle.java:1917)\n\tat android.os.BaseBundle.dumpStats(BaseBundle.java:1954)\n\tat android.app.servertransaction.PendingTransactionActions$StopInfo.collectBundleStates(PendingTransactionActions.java:123)\n\tat android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:139)\n\tat android.os.Handler.handleCallback(Handler.java:958)\n\tat android.os.Handler.dispatchMessage(Handler.java:99)\n\tat android.os.Looper.loopOnce(Looper.java:230)\n\tat android.os.Looper.loop(Looper.java:319)\n\tat android.app.ActivityThread.main(ActivityThread.java:8893)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)\nCaused by: java.io.NotSerializableException: org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelExtractor\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1240)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)\n\tat java.util.ArrayList.writeObject(ArrayList.java:873)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1079)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1568)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)\n\tat android.os.Parcel.writeSerializable(Parcel.java:2804)\n\t... 50 more\n"],"user_comment":""}

Affected Android/Custom ROM version

Android 14

Affected device model

Samsung M33 5G

Additional information

This issue may be device specific, as my friend who daily drives newpipe hasn't noticed any issues with his device; and the issue has persisted for as long as the new update (v0.27.2) has been out. Sorry I was lazy to report it.