yigit / android-priority-jobqueue

A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.
3.4k stars 395 forks source link

Crash on JobManager.count() #409

Open mhmtk opened 7 years ago

mhmtk commented 7 years ago

Some of my users are experiencing a crash with the following error. If it's any help: the count method is called inside a SyncAdapter

Fatal Exception: java.lang.RuntimeException: cannot get the result of the JobManager query
       at com.birbit.android.jobqueue.JobManager$IntQueryFuture.getSafe(JobManager.java:533)
       at com.birbit.android.jobqueue.JobManager.count(JobManager.java:411)

I couldn't find the reason why this would happen.