Skip to content

Crash using popup mode with playlist: Play Queue has not been initialized #12928

@gl-dev

Description

@gl-dev

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.

Affected version

28.0

Steps to reproduce the bug

  1. Creating a playlist during popup player mode
  2. Unclear what circumstance triggered the crash

Expected behavior

No crash

Actual behavior

Crash

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-12-21T11:48:33.105+01:00
  • Package: org.schabi.newpipe
  • Service: none
  • Version: 0.28.0
  • OS: Linux Android 9 - 28
Crash log

java.lang.RuntimeException: Unable to start service org.schabi.newpipe.player.PlayerService@334b705 with Intent { cmp=org.schabi.newpipe/.player.PlayerService (has extras) }: java.lang.IllegalStateException: Play Queue has not been initialized.
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3724)
	at android.app.ActivityThread.access$1600(ActivityThread.java:200)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1688)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	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)
Caused by: java.lang.IllegalStateException: Play Queue has not been initialized.
	at org.schabi.newpipe.player.playqueue.PlayQueueAdapter.<init>(PlayQueueAdapter.java:65)
	at org.schabi.newpipe.player.ui.MainPlayerUi.initPlayback(MainPlayerUi.java:217)
	at org.schabi.newpipe.player.ui.PlayerUiList.addAndPrepare(PlayerUiList.java:43)
	at org.schabi.newpipe.player.Player.initUIsForCurrentPlayerType(Player.java:502)
	at org.schabi.newpipe.player.Player.handleIntent(Player.java:361)
	at org.schabi.newpipe.player.PlayerService.onStartCommand(PlayerService.java:172)
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3705)
	... 8 more


Affected Android/Custom ROM version

Android 9 LineageOS

Affected device model

Samsung S2 Tab 9.7

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugplayerIssues related to any player (main, popup and background)queueIssue is related to queueing

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions