android.os.DeadObjectException

GitHub | yuanzj | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. android.os.DeadObjectException

    No message provided

    at android.os.BinderProxy.transactNative()
  2. Android Platform
    BluetoothDevice.connectGatt
    1. android.os.BinderProxy.transactNative(Native Method)
    2. android.os.BinderProxy.transact(Binder.java:509)
    3. android.bluetooth.IBluetoothGatt$Stub$Proxy.registerClient(IBluetoothGatt.java:851)
    4. android.bluetooth.BluetoothGatt.registerApp(BluetoothGatt.java:752)
    5. android.bluetooth.BluetoothGatt.connect(BluetoothGatt.java:808)
    6. android.bluetooth.BluetoothDevice.connectGatt(BluetoothDevice.java:1519)
    7. android.bluetooth.BluetoothDevice.connectGatt(BluetoothDevice.java:1487)
    7 frames
  3. com.polidea.rxandroidble
    RxBleRadioImpl$$Lambda$4.call
    1. com.polidea.rxandroidble.internal.util.BleConnectionCompat.connectGattCompat(BleConnectionCompat.java:85)
    2. com.polidea.rxandroidble.internal.util.BleConnectionCompat.connectGatt(BleConnectionCompat.java:35)
    3. com.polidea.rxandroidble.internal.operations.RxBleRadioOperationConnect.connect(RxBleRadioOperationConnect.java:78)
    4. com.polidea.rxandroidble.internal.operations.RxBleRadioOperationConnect.run(RxBleRadioOperationConnect.java:67)
    5. com.polidea.rxandroidble.internal.radio.RxBleRadioImpl$$Lambda$4.call(Unknown Source)
    5 frames
  4. rxjava
    ScheduledAction.run
    1. rx.Observable$27.onNext(Observable.java:7928)
    2. rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)
    3. rx.internal.util.ScalarSynchronousObservable$ScalarSynchronousAction.call(ScalarSynchronousObservable.java:115)
    4. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
    4 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:815)
    2. android.os.Handler.dispatchMessage(Handler.java:104)
    3. android.os.Looper.loop(Looper.java:194)
    4. android.app.ActivityThread.main(ActivityThread.java:5779)
    4 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:799)
    2 frames