Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: App.startServices -> DatabaseService.enqueueWork -> JobSchedulerService.enforceValidJobRequest #338

Open
TWiStErRob opened this issue Sep 17, 2023 · 2 comments
Labels
a:bug something isn't working as expected
Milestone

Comments

@TWiStErRob
Copy link
Owner

TWiStErRob commented Sep 17, 2023

samsung starqltesq (Galaxy S9) Android 10 (SDK 29) Version: 12001279 (1.2.0#1279-8eca619) Occurred: 4 days ago once for 1 user.

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.handleMakeApplication (ActivityThread.java:7189)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7134)
  at android.app.ActivityThread.access$1600 (ActivityThread.java:274)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2102)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:8167)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
Caused by java.lang.IllegalArgumentException:
  at android.os.Parcel.createException (Parcel.java:2092)
  at android.os.Parcel.readException (Parcel.java:2056)
  at android.os.Parcel.readException (Parcel.java:2004)
  at android.app.job.IJobScheduler$Stub$Proxy.enqueue (IJobScheduler.java:358)
  at android.app.JobSchedulerImpl.enqueue (JobSchedulerImpl.java:52)
  at androidx.core.app.JobIntentService$JobWorkEnqueuer.enqueueWork (JobIntentService.java:347)
  at androidx.core.app.JobIntentService.enqueueWork (JobIntentService.java:527)
  at androidx.core.app.JobIntentService.enqueueWork (JobIntentService.java:505)
  at net.twisterrob.inventory.android.content.db.DatabaseService.enqueueWork (DatabaseService.java:43)
  at net.twisterrob.inventory.android.App.startServices (App.java:72)
  at net.twisterrob.inventory.android.App.onStart (App.java:67)
  at net.twisterrob.android.app.BaseApp.onCreate (BaseApp.java:99)
  at net.twisterrob.inventory.android.Hilt_App.onCreate (Hilt_App.java:41)
  at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1190)
  at android.app.ActivityThread.handleMakeApplication (ActivityThread.java:7184)
Caused by android.os.RemoteException: Remote stack trace:
  at com.android.server.job.JobSchedulerService$JobSchedulerStub.enforceValidJobRequest (JobSchedulerService.java:2724)
  at com.android.server.job.JobSchedulerService$JobSchedulerStub.enqueue (JobSchedulerService.java:2814)
  at android.app.job.IJobScheduler$Stub.onTransact (IJobScheduler.java:183)
  at android.os.Binder.execTransactInternal (Binder.java:1056)
  at android.os.Binder.execTransact (Binder.java:1029)

https://play.google.com/console/u/0/developers/7995455198986011414/app/4974852622245161228/vitals/crashes/465e458ebc751ae239ce9b9b4f1908fb/details?days=28#cluster-insights-section


Note: JobIntentService is not maintained so my best bet is #256

@TWiStErRob TWiStErRob added the a:bug something isn't working as expected label Sep 17, 2023
@TWiStErRob TWiStErRob added this to the v1.2.1 milestone Sep 17, 2023
@TWiStErRob
Copy link
Owner Author

TWiStErRob commented Sep 17, 2023

GitHub: https://github.com/search?q=enforceValidJobRequest+&type=issues

StackOverflow also concurs: https://stackoverflow.com/a/52203436/253468

@TWiStErRob

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant