AIDL方法调用+ DeadObjectException无限期冻结应用程序

时间:2018-07-17 17:16:06

标签: java android aidl

我正在拨打我的AIDL服务的电话,我应该以应用程序中的用户身份登录,但是失败了,但是告诉我却花了很长时间。无论如何,在尝试进行通信以更快地显示错误之前,我是否可以有一定的时间?这是堆栈跟踪

E/MainActivity: doInBackground: 
            android.os.DeadObjectException
                at android.os.BinderProxy.transactNative(Native Method)
                at android.os.BinderProxy.transact(Binder.java:496)
                at com.app IDbService$Stub$Proxy.query(IDbService.java:156)
                at com.otherApp.MainActivity$GetRecentRegisterActivity.doInBackground(MainActivity.java:652)
                at com.otherApp.MainActivity$GetRecentRegisterActivity.doInBackground(MainActivity.java:572)
                at android.os.AsyncTask$2.call(AsyncTask.java:292)
                at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                at java.lang.Thread.run(Thread.java:818)
E/MainActivity: doInBackground: 
            android.os.DeadObjectException
                at android.os.BinderProxy.transactNative(Native Method)
                at android.os.BinderProxy.transact(Binder.java:496)
                at com.app.IDbService$Stub$Proxy.query(IDbService.java:156)
                at com.otherApp.MainActivity$GetRecentRegisterActivity.doInBackground(MainActivity.java:595)
                at com.otherApp.MainActivity$GetRecentRegisterActivity.doInBackground(MainActivity.java:572)
                at android.os.AsyncTask$2.call(AsyncTask.java:292)
                at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                at java.lang.Thread.run(Thread.java:818)
W/System.err: android.os.DeadObjectException
              at android.os.BinderProxy.transactNative(Native Method)
              at android.os.BinderProxy.transact(Binder.java:496)
              at com.app.IDbService$Stub$Proxy.sendBugReport(IDbService.java:192)
              at com.otherApp.MainActivity$8.run(MainActivity.java:1028)
              at java.lang.Thread.run(Thread.java:818)
W/System.err: android.os.DeadObjectException
              at android.os.BinderProxy.transactNative(Native Method)
              at android.os.BinderProxy.transact(Binder.java:496)
              at com.app.IDbService$Stub$Proxy.sendBugReport(IDbService.java:192)
              at com.otherApp.MainActivity$8.run(MainActivity.java:1028)
              at java.lang.Thread.run(Thread.java:818)

0 个答案:

没有答案