Closed PaulMaxime closed 4 years ago
I get the same exception. Any ideas?
In April 2019 we announced that Firebase Job Dispatcher would be deprecated today, April 7th 2020. For this reason we are going to close all open issues and archive the repository. We will also stop supporting FJD for new app installations (such as those targeting sdk versions greater than Android Q). Existing apps that rely on FJD should continue to function as usual.
While we will no longer work on FJD, we encourage you to migrate to Work Manager which is a superior tool and fully supported by the Android team.
Thank you for taking the time to try the library and provide this feedback. We sincerely appreciate your effort and we apologize for not addressing it in time.
We are seeing a crash in startJob in JobServiceConnection. This doesn't happen all the time but we are seeing a lot of this crash in our Google Play Console.
java.lang.NullPointerException: at com.firebase.jobdispatcher.JobServiceConnection.startJob (JobServiceConnection.java:161) at com.firebase.jobdispatcher.ExecutionDelegator.executeJob (ExecutionDelegator.java:108) at com.firebase.jobdispatcher.GooglePlayMessageHandler.handleStartMessage (GooglePlayMessageHandler.java:98) at com.firebase.jobdispatcher.GooglePlayMessageHandler.handleMessage (GooglePlayMessageHandler.java:67) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:193) at android.app.ActivityThread.main (ActivityThread.java:6718) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
We schedule our job like this: