Skip to content

Crashes while opening play queue #1

Description

@whistlingwoods

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

dev branch

Steps to reproduce the bug

Steps to reproduce: Play a video in background or popup mode, enqueue another to make a play queue by long pressing any video from related items and pressing enqueue button, then try to open playqueue from notification or swipe down main player to minimize it, then open play queue activity from below down minimized player, instantly it crashes, can't open play queue anywhere from app thus impacting app's usability.

Everytime app crashes with the logs given in the logs section: -

Expected behavior

Play queue should be opened normally.

Actual behavior

It crashes instantaneously.

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: <unknown_service>
  • Timestamp: 2026-05-16T11:25:43.921+05:30
  • Package: org.schabi.newpipe
  • Service: <unknown_service>
  • Version: 0.28.6
  • OS: Linux samsung/a22xnnxx/a22x:13/TP1A.220624.014/A226BXXU7DWH4:user/release-keys 13 - 33
Crash log

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.schabi.newpipe/org.schabi.newpipe.player.PlayQueueActivity}: android.view.InflateException: Binary XML file line #28 in org.schabi.newpipe:layout/activity_player_queue_control: Binary XML file line #28 in org.schabi.newpipec:layout/activity_player_queue_control: Error inflating class <unknown>
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4169)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8762)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: android.view.InflateException: Binary XML file line #28 in org.schabi.newpipe:layout/activity_player_queue_control: Binary XML file line #28 in org.schabi.newpipe:layout/activity_player_queue_control: Error inflating class <unknown>
Caused by: android.view.InflateException: Binary XML file line #28 in org.schabi.newpipe:layout/activity_player_queue_control: Error inflating class <unknown>
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance0(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
	at android.view.LayoutInflater.createView(LayoutInflater.java:876)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1028)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:983)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:1145)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:1148)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1106)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:692)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:544)
	at org.schabi.newpipe.player.PlayQueueActivity.onCreate(r8-map-id-b536a7dbb08187839d047806301a0d5063a28fe76cc0c0e7f4cdd1ae4d7ad208:26)
	at android.app.Activity.performCreate(Activity.java:8591)
	at android.app.Activity.performCreate(Activity.java:8570)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8762)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 3: TypedValue{t=0x2/d=0x1010036 a=1}, theme={InheritanceMap=[id=0x7f13037dorg.schabi.newpipec:style/ToolbarTheme], Themes=[org.schabi.newpipec:style/ToolbarTheme, forced, org.schabi.newpipe:style/ToolbarTheme, forced, org.schabi.newpipe:style/DarkTheme.YouTube, forced, org.schabi.newpipe:style/OpeningTheme, forced, org.schabi.newpipe:style/Theme.AppCompat.Empty, forced, android:style/Theme.DeviceDefault.Light.DarkActionBar, forced]}
	at android.content.res.TypedArray.getColorStateList(TypedArray.java:600)
	at android.widget.TextView.readTextAppearance(TextView.java:4398)
	at android.widget.TextView.setTextAppearance(TextView.java:4238)
	at androidx.appcompat.widget.AppCompatTextView.setTextAppearance(r8-map-id-b536a7dbb08187839d047806301a0d5063a28fe76cc0c0e7f4cdd1ae4d7ad208:1)
	at androidx.appcompat.widget.Toolbar.setTitle(r8-map-id-b536a7dbb08187839d047806301a0d5063a28fe76cc0c0e7f4cdd1ae4d7ad208:11)
	at androidx.appcompat.widget.Toolbar.<init>(r8-map-id-b536a7dbb08187839d047806301a0d5063a28fe76cc0c0e7f4cdd1ae4d7ad208:55)
	at com.google.android.material.appbar.MaterialToolbar.<init>(r8-map-id-b536a7dbb08187839d047806301a0d5063a28fe76cc0c0e7f4cdd1ae4d7ad208:12)
	... 28 more


Affected Android/Custom ROM version

Android 13

Affected device model

Samsung A70s

Additional information

Kudos for the good work btw, GUI looks just beautiful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions