Skip to content

crash when playing video #13101

@cedarmax

Description

@cedarmax

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.28

Steps to reproduce the bug

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Timestamp: 2026-01-24T00:59:39.811-06:00
  • Package: org.schabi.newpipe
  • Service: none
  • Version: 0.28.0
  • OS: Linux samsung/xcoverpro2sq/xcoverpro2:16/BP2A.250605.031.A3/G736USQUCGYK2:user/release-keys 16 - 36
Crash log

android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{a57a422 u0 org.schabi.newpipe/.player.PlayerService c:org.schabi.newpipe}
	at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2675)
	at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2643)
	at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3068)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loopOnce(Looper.java:273)
	at android.os.Looper.loop(Looper.java:363)
	at android.app.ActivityThread.main(ActivityThread.java:10060)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here
	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2131)
	at android.app.ContextImpl.startForegroundService(ContextImpl.java:2075)
	at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:877)
	at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:877)
	at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:1128)
	at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:700)
	at androidx.media.session.MediaButtonReceiver.onReceive(MediaButtonReceiver.java:120)
	at android.app.ActivityThread.handleReceiver(ActivityThread.java:5663)
	at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2904)
	... 7 more


Expected behavior

Attempted to play video

Actual behavior

"Sorry, that should not have happened. Guru Meditation"

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    template ignoredThe user didn't follow the template/instructions (or removed them)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions