android.app.ServiceConnectionLeaked: Service org.microg.nlp.location.LocationServiceV2 has leaked ServiceConnection org.microg.nlp.location.BackendHelper@9940075 that was originally bound here

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by BinqiangSun

It's because the service you bind with activity is not stopped when that activity is destroyed. The service remains in the memory causes this exception. To solve this call doBindService() in onCreate() and doUnbindService() in onDestroy()

Solutions on the web

via GitHub by craftyguy
, 1 year ago
Service org.microg.nlp.location.LocationServiceV2 has leaked ServiceConnection org.microg.nlp.location.BackendHelper@9940075 that was originally bound here
via GitHub by nrgarach
, 10 months ago
Activity com.....main.login.Oauth2AppLoginActivity has leaked ServiceConnection net.openid.appauth.BrowserHandler$1@4c6fd9c that was originally bound here
via Stack Overflow by hashim
, 1 year ago
Service com.google.android.gms.car.CarService has leaked ServiceConnection com.google.android.gms.car.hr@3bb3cd94 that was originally bound here
via Stack Overflow by GyeongUk Moon
, 1 year ago
Service com.google.android.gms.car.CarService has leaked ServiceConnection fmj@d6bf3b1 that was originally bound here
via androidcentral.com by Unknown author, 1 year ago
Service com.google.android.gms.car.CarService has leaked ServiceConnection com.google.android.gms.car.hr@32abece that was originally bound here
via Stack Overflow by Harshit Kumar
, 1 year ago
Service com.google.android.gms.car.CarService has leaked ServiceConnection fmj@35e4d4a that was originally bound here
android.app.ServiceConnectionLeaked: Service org.microg.nlp.location.LocationServiceV2 has leaked ServiceConnection org.microg.nlp.location.BackendHelper@9940075 that was originally bound here
at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:1093)
at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:987)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1313)
at android.app.ContextImpl.bindService(ContextImpl.java:1296)
at android.content.ContextWrapper.bindService(ContextWrapper.java:610)
at org.microg.nlp.AbstractBackendHelper.bind(AbstractBackendHelper.java:94)
at org.microg.nlp.location.BackendFuser.bind(BackendFuser.java:75)
at org.microg.nlp.location.ThreadHelper.enable(ThreadHelper.java:66)
at org.microg.nlp.location.ThreadHelper.reload(ThreadHelper.java:39)
at org.microg.nlp.location.LocationProviderV2.reload(LocationProviderV2.java:59)
at org.microg.nlp.location.AbstractLocationService.onHandleIntent(AbstractLocationService.java:77)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)

Users with the same issue

2 times, 1 month ago
Once, 1 month ago
67 times, 3 months ago
25 times, 3 months ago
16 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.