Skip to content

Bug Report - java.lang.RuntimeException at GPSService.java:86 #250

@GrazianoCapelli

Description

@GrazianoCapelli

Exception java.lang.RuntimeException:
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:5286)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2531)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8919)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
Caused by java.lang.SecurityException:
at android.os.Parcel.createExceptionOrNull (Parcel.java:3091)
at android.os.Parcel.createException (Parcel.java:3075)
at android.os.Parcel.readException (Parcel.java:3058)
at android.os.Parcel.readException (Parcel.java:3000)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground (IActivityManager.java:7234)
at android.app.Service.startForeground (Service.java:775)
at eu.basicairdata.graziano.gpslogger.GPSService.onStartCommand (GPSService.java:86)
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:5268)
Caused by android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActiveServices.validateForegroundServiceType (ActiveServices.java:2741)
at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked (ActiveServices.java:2452)
at com.android.server.am.ActiveServices.setServiceForegroundLocked (ActiveServices.java:1797)
at com.android.server.am.ActivityManagerService.setServiceForeground (ActivityManagerService.java:15948)
at android.app.IActivityManager$Stub.onTransact$setServiceForeground$ (IActivityManager.java:11974)

This bug has high priority because occurred 290 times in the last 30 days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug of the App, it needs to be fixed soonneeds implementationThe issue needs to be implemented soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions