Skip to content

NullpointerException in onConnectionUpdated #583

Description

@Pezcraft

I cannot reproduce the following Exception as it rarely happens on v2.7.5.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean no.nordicsemi.android.ble.s.h(android.bluetooth.BluetoothDevice)' on a null object reference
       at no.nordicsemi.android.ble.BleManagerHandler$4.onConnectionUpdated(BleManagerHandler.java:2818)
       at android.bluetooth.BluetoothGatt$1$14.run(BluetoothGatt.java:844)
       at android.os.Handler.handleCallback(Handler.java:958)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:230)
       at android.os.Looper.loop(Looper.java:319)
       at android.app.ActivityThread.main(ActivityThread.java:8919)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
        

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions