meetube icon indicating copy to clipboard operation
meetube copied to clipboard

[Bug]: NPE crash on pull-to-refresh when a channel is selected in Subscriptions

Open MohitEvil opened this issue 5 days ago • 1 comments

Checklist

Which app?

MeeTube (phone or tablet)

MeeTube version

3.6.4 Swag

Phone, tablet or TV, and Android version

CMF Phone 1 (Stock ROM), Android 16

Signed in to a Google account?

Yes

Network when it happened

Mobile data

What happened

The app crashes with a NullPointerException on the main thread when I pull down to refresh the Subscriptions feed while a specific channel is selected from the top horizontal strip.

Steps to reproduce:
1. Open MeeTube and go to the "Subs" (Subscriptions) tab.
2. Select/tap on any subscribed channel in the horizontal channel strip at the top.
3. Pull down to refresh the feed.
4. App crashes.

Crash stack trace:
java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.indexOf(java.lang.Object)' on a null object reference
    at com.newtube.mobile.ui.browse.MobileBrowseActivity.updateStrip(MobileBrowseActivity.java:3373)
    at com.newtube.mobile.ui.browse.MobileBrowseActivity.refreshFeed(MobileBrowseActivity.java:634)
    at com.newtube.mobile.ui.browse.MobileBrowseActivity$$ExternalSyntheticLambda94.onRefresh(D8$$SyntheticClass:0)
    at androidx.swiperefreshlayout.widget.SwipeRefreshLayout$1.onAnimationEnd(SwipeRefreshLayout.java:208)

It looks like refreshFeed() → updateStrip() runs on the SwipeRefreshLayout animation-end callback, but the channel list/strip data is null at that point (likely cleared during the refresh, causing indexOf() to fail on the null list).

Video link

No response

Diagnostic log

logcat_2026-11-29_08-12-03 (1).txt

Anything else

Device is rooted (KernelSU + Zygisk), but the Zygisk module was not injected ("Not injecting 'io.yash.meetube': the daemon has no binder for it"), so it looks unrelated. The stack trace is entirely in app code.

Before attaching the log, I redacted the visitor ID, poToken, botguard response, and identifier blobs.

MohitEvil avatar Nov 29 '26 03:11 MohitEvil

Thanks for the report and the stack trace! Fixed, it will be in the next update.

yashoncode avatar Nov 29 '26 17:11 yashoncode