-
Notifications
You must be signed in to change notification settings - Fork 243
Description
Hi, I am testing an app since a few days I have been scheduling tasks with workmanager everyday. today I added a new one and I got a crash with the following log (all my tasks of the previous days were already finished).
Now the app can not start anymore, unless I delete all the app's data.
1-Does this mean I had 100 tasks during the last few days?
2-Or does this mean my last task was accidentally launched >100 times?
if 1, why are we limited to 100 tasks
Is it a known issue? any help would be appreciated. thanks
06-01 13:11:09.180 696-4700/system_process W/JobSchedulerService: Too many jobs for uid 10095
E/AndroidRuntime: FATAL EXCEPTION: pool-2-thread-1
Process: tv.ebox.freetv.debug, PID: 26258
java.lang.IllegalStateException: Apps may not schedule more than 100 distinct jobs
at android.os.Parcel.readException(Parcel.java:1691)
at android.os.Parcel.readException(Parcel.java:1636)
at android.app.job.IJobScheduler$Stub$Proxy.schedule(IJobScheduler.java:158)
at android.app.JobSchedulerImpl.schedule(JobSchedulerImpl.java:42)
at androidx.work.impl.background.systemjob.SystemJobScheduler.scheduleInternal(SystemJobScheduler.java:85)
at androidx.work.impl.background.systemjob.SystemJobScheduler.schedule(SystemJobScheduler.java:64)
at androidx.work.impl.Schedulers.scheduleInternal(Schedulers.java:98)
at androidx.work.impl.Schedulers.schedule(Schedulers.java:69)
at androidx.work.impl.utils.EnqueueRunnable.scheduleWorkInBackground(EnqueueRunnable.java:109)
at androidx.work.impl.utils.EnqueueRunnable.run(EnqueueRunnable.java:81)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)