Skip to content

Playlist crash when deleting a Video after fully watched #13971

Open

Description

@Git08hb

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
  • I have read and understood the AI policy. The content of this bug report is not generated by AI.

Affected version

0.29.1

Steps to reproduce the bug

  1. Watch a Video on manually added Playlist
  2. After finishing Video I deleted the fully watched Video
  3. Scroll up in the Playlist
  4. Crash

Expected behavior

That NewPipe will not crash.

Actual behavior

No response

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-AT
  • App Language: en_AT
  • Service: <unknown_service>
  • Timestamp: 2026-09-06T16:04:13.416+02:00
  • Package: org.schabi.newpipe
  • Service: <unknown_service>
  • Version: 0.29.1
  • OS: Linux Android 17 - 37
Crash log

java.lang.IllegalStateException: ViewHolder views must not be attached when created. Ensure that you are not passing 'true' to the attachToRoot parameter of LayoutInflater.inflate(..., boolean attachToRoot)
	at androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder(r8-map-id-3abacb5aa3dfa204b2c73467d7f03c1bf6dbcb58af56a529d66e481a51f043e8:48)
	at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(r8-map-id-3abacb5aa3dfa204b2c73467d7f03c1bf6dbcb58af56a529d66e481a51f043e8:930)
	at androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(r8-map-id-3abacb5aa3dfa204b2c73467d7f03c1bf6dbcb58af56a529d66e481a51f043e8:64)
	at androidx.recyclerview.widget.GapWorker.prefetch(r8-map-id-3abacb5aa3dfa204b2c73467d7f03c1bf6dbcb58af56a529d66e481a51f043e8:176)
	at androidx.recyclerview.widget.GapWorker.run(r8-map-id-3abacb5aa3dfa204b2c73467d7f03c1bf6dbcb58af56a529d66e481a51f043e8:70)
	at android.os.Handler.handleCallback(Handler.java:1095)
	at android.os.Handler.dispatchMessageImpl(Handler.java:135)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.loopOnce(Looper.java:296)
	at android.os.Looper.loop(Looper.java:397)
	at android.app.ActivityThread.main(ActivityThread.java:9569)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:575)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)


Affected Android/Custom ROM version

Android 17 / GrapheneOS

Affected device model

Pixel 10a

Additional information

First reported in
#4475 comment

Activity

  1. added
    bugIssue is related to a bug
    needs triageIssue is not yet ready for PR authors to take up
    on Oct 29, 2026
  2. added
    playlistAnything to do with playlists in the app
    and removed
    needs triageIssue is not yet ready for PR authors to take up
    on Nov 2, 2026
  3. added theissue type on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugplaylistAnything to do with playlists in the app

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions