Skip to content

[nightly] UI crashes on rotation with NullPointerException in PlayQueueActivity #13963

Open

Description

@ShareASmile

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

NewPipe nightly 1196

Steps to reproduce the bug

Play a stream on background or popup player, open PlayQueue, Rotate the device, app ui crashes instantly.

Started happening after the merge of #13942

Expected behavior

No response

Actual behavior

No response

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-10-26T12:10:17.858+05:30
  • Package: org.schabi.newpipe.nightly
  • Service: <unknown_service>
  • Version: 0.29.1-1196-202610240309
  • OS: Linux samsung/a22xnnxx/a22x:13/TP1A.220624.014/A226BXXU7DWH4:user/release-keys 13 - 33
Crash log

[java.lang.NullPointerException](https://github.com/TeamNewPipe/NewPipe/java.lang.NullPointerException): Attempt to invoke virtual method 'void [android.widget.TextView.setText](https://github.com/TeamNewPipe/NewPipe/android.widget.TextView.setText)([java.lang.CharSequence](https://github.com/TeamNewPipe/NewPipe/java.lang.CharSequence))' on a null object reference
	at [org.schabi.newpipe.player.PlayQueueActivity.onProgressUpdate](https://github.com/TeamNewPipe/NewPipe/org.schabi.newpipe.player.PlayQueueActivity.onProgressUpdate)(r8-map-id-1705b49429e165117ee31f4bb868834348bbc91285e125b6a348bfbe4adf07b9:218)
	at [org.schabi.newpipe.player.Player.triggerProgressUpdate](https://github.com/TeamNewPipe/NewPipe/org.schabi.newpipe.player.Player.triggerProgressUpdate)(r8-map-id-1705b49429e165117ee31f4bb868834348bbc91285e125b6a348bfbe4adf07b9:58)
	at [org.schabi.newpipe.download.DownloadDialog](https://github.com/TeamNewPipe/NewPipe/org.schabi.newpipe.download.DownloadDialog)$[1.onServiceConnected](https://github.com/TeamNewPipe/NewPipe/1.onServiceConnected)(r8-map-id-1705b49429e165117ee31f4bb868834348bbc91285e125b6a348bfbe4adf07b9:344)
	at [android.app.LoadedApk](https://github.com/TeamNewPipe/NewPipe/android.app.LoadedApk)$[ServiceDispatcher.doConnected](https://github.com/TeamNewPipe/NewPipe/ServiceDispatcher.doConnected)(loadedapk.java:2358)
	at [android.app.LoadedApk](https://github.com/TeamNewPipe/NewPipe/android.app.LoadedApk)$ServiceDispatcher$[RunConnection.run](https://github.com/TeamNewPipe/NewPipe/RunConnection.run)(loadedapk.java:2395)
	at [android.os.Handler.handleCallback](https://github.com/TeamNewPipe/NewPipe/android.os.Handler.handleCallback)(handler.java:942)
	at [android.os.Handler.dispatchMessage](https://github.com/TeamNewPipe/NewPipe/android.os.Handler.dispatchMessage)(handler.java:99)
	at [android.os.Looper.loopOnce](https://github.com/TeamNewPipe/NewPipe/android.os.Looper.loopOnce)(looper.java:226)
	at [android.os.Looper.loop](https://github.com/TeamNewPipe/NewPipe/android.os.Looper.loop)(looper.java:313)
	at [android.app.ActivityThread.main](https://github.com/TeamNewPipe/NewPipe/android.app.ActivityThread.main)(activitythread.java:8762)
	at [java.lang.reflect.Method.invoke](https://github.com/TeamNewPipe/NewPipe/java.lang.reflect.Method.invoke)(Native Method)
	at [com.android.internal.os.RuntimeInit](https://github.com/TeamNewPipe/NewPipe/com.android.internal.os.RuntimeInit)$[MethodAndArgsCaller.run](https://github.com/TeamNewPipe/NewPipe/MethodAndArgsCaller.run)(runtimeinit.java:604)
	at [com.android.internal.os.ZygoteInit.main](https://github.com/TeamNewPipe/NewPipe/com.android.internal.os.ZygoteInit.main)(zygoteinit.java:1067)


Affected Android/Custom ROM version

One UI Core 5.1/Android 13

Affected device model

SM A226

Additional information

Cannot view long video titles fully anymore after #13942 as horizontal scrolling stream titles get reset every second with the update of elapsed time of the playing stream. This happens on second item in queue onwards not on the first.

Activity

  1. added
    bugIssue is related to a bug
    queueIssue is related to queueing
    on Oct 26, 2026
  2. changed the title [-]UI crashes on rotation with NullPointerException in PlayQueueActivity[/-] [+]UI crashes on rotation with NullPointerException in PlayQueueActivity on nightly[/+] on Oct 26, 2026
  3. self-assigned this
    on Oct 27, 2026
  4. theimpulson commented on Oct 27, 2026

    @theimpulson
    Member

    @L1ly-Hou do you also want to try addressing this issue?

  5. L1ly-Hou commented on Oct 27, 2026

    @L1ly-Hou
    Contributor

    Yes, I'd love to work on this! I'll try to reproduce it later today and see if I can fix it.

  6. changed the title [-]UI crashes on rotation with NullPointerException in PlayQueueActivity on nightly[/-] [+][nightly] UI crashes on rotation with NullPointerException in PlayQueueActivity[/+] on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugIssue is related to a bugqueueIssue is related to queueing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions