Skip to content

Unable to create service #12553

@A-Nicoladie

Description

@A-Nicoladie

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

0.28.0-25-202508180153

Steps to reproduce the bug

  1. Click on the link : notify
  2. That's all

Expected behavior

Go to a Youtube video

Actual behavior

Crash : Unable to create service

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: FR
  • Content Language: fr-FR
  • App Language: fr_FR
  • Service: none
  • Timestamp: 2025-08-19T22:46:52.098+02:00
  • Package: org.schabi.newpipe.refactor.nightly
  • Service: none
  • Version: 0.28.0-25-202508180153
  • OS: Linux Android 15 - 35
Crash log

java.lang.RuntimeException: Unable to create service org.schabi.newpipe.RouterActivity$FetcherService: android.app.MissingForegroundServiceTypeException: Starting FGS without a type  callerApp=ProcessRecord{9749d2 20930:org.schabi.newpipe.refactor.nightly/u0a202} targetSDK=35
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:5148)
	at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2547)
	at android.os.Handler.dispatchMessage(Handler.java:109)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8934)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
Caused by: android.app.MissingForegroundServiceTypeException: Starting FGS without a type  callerApp=ProcessRecord{9749d2 20930:org.schabi.newpipe.refactor.nightly/u0a202} targetSDK=35
	at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:53)
	at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:49)
	at android.os.Parcel.readParcelableInternal(Parcel.java:5094)
	at android.os.Parcel.readParcelable(Parcel.java:5076)
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3256)
	at android.os.Parcel.createException(Parcel.java:3245)
	at android.os.Parcel.readException(Parcel.java:3228)
	at android.os.Parcel.readException(Parcel.java:3170)
	at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7268)
	at android.app.Service.startForeground(Service.java:776)
	at org.schabi.newpipe.RouterActivity$FetcherService.onCreate(RouterActivity.java:949)
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:5135)
	... 9 more


Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugnew stream notificationIssue is related to notification shown for new streams

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions