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

RemoteException #269

Closed
jia-tse-zocdoc opened this issue Apr 23, 2019 · 4 comments
Closed

RemoteException #269

jia-tse-zocdoc opened this issue Apr 23, 2019 · 4 comments

Comments

@jia-tse-zocdoc
Copy link

Hi, we're seeing a lot of crashes for Android 8 and above, stack trace looks like this. This may be different than the SecurityException that was reported years ago....

JobIntentService$JobServiceEngineImpl line 315
android.support.v4.app.JobIntentService$JobServiceEngineImpl.dequeueWork
Caused by android.os.RemoteException: Remote stack trace:
	at com.android.server.job.JobServiceContext.assertCallerLocked(JobServiceContext.java:481)
	at com.android.server.job.JobServiceContext.doDequeueWork(JobServiceContext.java:359)
	at com.android.server.job.JobServiceContext$JobCallback.dequeueWork(JobServiceContext.java:160)
	at android.app.job.IJobCallback$Stub.onTransact(IJobCallback.java:83)
	at android.os.Binder.execTransact(Binder.java:731)
Caused by java.lang.SecurityException: Caller no longer running, last stopped +1s424ms because: timed out while starting
       at android.os.Parcel.readException(Parcel.java:1943)
       at android.os.Parcel.readException(Parcel.java:1889)
       at android.app.job.IJobCallback$Stub$Proxy.dequeueWork(IJobCallback.java:191)
       at android.app.job.JobParameters.dequeueWork(JobParameters.java:196)
       at android.support.v4.app.JobIntentService$JobServiceEngineImpl.dequeueWork(SourceFile:315)
       at android.support.v4.app.JobIntentService.dequeueWork(SourceFile:640)
       at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(SourceFile:390)
       at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(SourceFile:383)
       at android.os.AsyncTask$2.call(AsyncTask.java:333)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)
@thomaszurkan-optimizely
Copy link
Contributor

@jia-tse-zocdoc we have the deque wrapped in a try catch. so, there should not be a crash if there was a problem in dequeue. are you sure there is a crash?

@thomaszurkan-optimizely
Copy link
Contributor

@jia-tse-zocdoc I have confirmed that this is not a crash.

@jia-tse-zocdoc
Copy link
Author

@thomaszurkan-optimizely -- I think you're right. Looks like what I saw were old errors, and it stopped happening.

@paralytic123
Copy link

Hello, has this problem been solved? I am also experiencing this problem when using JobIntentService now, I don't know how to solve it

Remote stack trace: at com.android.server.job.JobServiceContext.assertCallerLocked(JobServiceContext.java:487)
at com.android.server.job.JobServiceContext.doDequeueWork(JobServiceContext.java:365)
at com.android.server.job.JobServiceContext$JobCallback.dequeueWork(JobServiceContext.java:160)
at android.app.job.IJobCallback$Stub.onTransact(IJobCallback.java:83) at android.os.Binder.execTransact(Binder.java:732)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants