Android-DFU-Library
Android-DFU-Library copied to clipboard
ConcurrentModificationException in BaseDfuImpl.java
DFU Bootloader version (please complete the following information):
- SDK version: 31
- Bonding used: yes
- Library version: 1.12.0
Device information (please complete the following information):
- Device: Mi 10T Pro
- OS: Android 11
Describe the bug Crash reported through Firebase
Logs
Fatal Exception: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:860)
at android.bluetooth.BluetoothGatt.getService(BluetoothGatt.java:1067)
at no.nordicsemi.android.dfu.BaseDfuImpl.initialize(BaseDfuImpl.java:364)
at no.nordicsemi.android.dfu.SecureDfuImpl.initialize(SecureDfuImpl.java:183)
at no.nordicsemi.android.dfu.DfuBaseService.onHandleIntent(DfuBaseService.java:1393)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:77)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:236)
at android.os.HandlerThread.run(HandlerThread.java:67)