Skip to content

Refactor Nightly crash on download video. #13294

@Novaliss

Description

@Novaliss

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

Version 0.28.3-49-202602230224 org.schabi.newpipe.refactor.nightly versionCode 49

Steps to reproduce the bug

Open any clip, or longpress and tap 'Download'.

Expected behavior

The clip is expected to be downloaded following an opened dialog.

Actual behavior

It exits the page, and shows the error report as per the provided output below.

Screenshots/Screen recordings

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-
  • App Language: en_US
  • Service: <unknown_service>
  • Timestamp: 2026-02-26T18:26:15.041+01:00
  • Package: org.schabi.newpipe.refactor.nightly
  • Service: <unknown_service>
  • Version: 0.28.3-49-202602230224
  • OS: Linux Android 16 - 36
Crash log

java.lang.ClassCastException: androidx.appcompat.view.menu.ActionMenuItemView cannot be cast to android.view.MenuItem
	at org.schabi.newpipe.download.DownloadDialog.onViewCreated(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:415)
	at androidx.fragment.app.Fragment.performViewCreated(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:15)
	at androidx.fragment.app.FragmentStateManager.createView(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:267)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:203)
	at androidx.fragment.app.FragmentManager.executeOpsTogether(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:1125)
	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:92)
	at androidx.fragment.app.FragmentManager.execPendingActions(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:172)
	at androidx.fragment.app.Fragment$4.run(r8-map-id-576f8bf0c4fd68a2984bf9421c745fc7b252abc4acb8ced7edab0ccabe864c50:11)
	at android.os.Handler.handleCallback(Handler.java:1070)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.dispatchMessage(Looper.java:333)
	at android.os.Looper.loopOnce(Looper.java:263)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9331)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837)


Affected Android/Custom ROM version

GrapheneOS 16

Affected device model

Pixel6a

Additional information

Tried Newpipe other versions;
Newpipe
Newpipe Nightly
and these did not reproduce this crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugdownloaderIssue is related to the downloaderregressionA bug that didn't exist in prior versions but appeared after a certain changerewriteIssues and PRs related to rewrite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions