Checklist
Affected version
28.0.0
Steps to reproduce the bug
Using playlist with enqueue, enqueue next several times
Video in popup mode
Device rotation 180°
Crash and loss of playlist
Expected behavior
No crash
Playlist survives
Actual behavior
Crash
Playlist empty
Screenshots/Screen recordings
No response
Logs
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: DE
- Content Language: en-
- App Language: en
- Service: none
- Timestamp: 2025-11-17T08:37:12.244+01:00
- Package: org.schabi.newpipe
- Service: none
- Version: 0.28.0
- OS: Linux Android 9 - 28
Crash log
java.lang.IllegalStateException: Fragment CommentsFragment{ec064d1} (0a258dbc-fcbc-43f1-802f-2f37f267997e) not attached to a context.
at androidx.fragment.app.Fragment.requireContext(Fragment.java:972)
at androidx.fragment.app.Fragment.getResources(Fragment.java:1036)
at androidx.fragment.app.Fragment.getString(Fragment.java:1058)
at org.schabi.newpipe.fragments.list.BaseListFragment.onSharedPreferenceChanged(BaseListFragment.java:477)
at android.app.SharedPreferencesImpl$EditorImpl.notifyListeners(SharedPreferencesImpl.java:607)
at android.app.SharedPreferencesImpl$EditorImpl.lambda$notifyListeners$0(SharedPreferencesImpl.java:613)
at android.app.-$$Lambda$SharedPreferencesImpl$EditorImpl$3CAjkhzA131V3V-sLfP2uy0FWZ0.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response
Checklist
Affected version
28.0.0
Steps to reproduce the bug
Using playlist with enqueue, enqueue next several times
Video in popup mode
Device rotation 180°
Crash and loss of playlist
Expected behavior
No crash
Playlist survives
Actual behavior
Crash
Playlist empty
Screenshots/Screen recordings
No response
Logs
Exception
Crash log
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response