ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
751 stars 142 forks source link

ForegroundServiceStartNotAllowedException: An error occurred while executing doInBackground() #2497

Open sentry-io[bot] opened 1 year ago

sentry-io[bot] commented 1 year ago

Sentry Issue: PROBE-ANDROID-Y0

ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service org.openobservatory.ooniprobe/.common.service.RunTestService
    at org.openobservatory.ooniprobe.common.service.ServiceUtil.startRunTestService(ServiceUtil.java:103)
    at org.openobservatory.ooniprobe.common.service.ServiceUtil.callCheckInAPI(ServiceUtil.java:90)
    at org.openobservatory.ooniprobe.common.service.RunTestJobService$JobTask.doInBackground(RunTestJobService.java:37)
    at org.openobservatory.ooniprobe.common.service.RunTestJobService$JobTask.doInBackground(RunTestJobService.java:26)
...
(19 additional frame(s) were not displayed)

RuntimeException: An error occurred while executing doInBackground()
    at android.os.AsyncTask$4.done(AsyncTask.java:415)
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:250)
    at java.util.concurrent.FutureTask.run(FutureTask.java:269)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
...
(3 additional frame(s) were not displayed)