maxieds / ChameleonMiniLiveDebugger

Live logger and GUI tool for the Chameleon Mini developed for Android OS in Java.
GNU General Public License v3.0
93 stars 16 forks source link

Crash Report (CMLD 1.3.4-free): Error receiving broadcast Intent { act=android.hardware.usb.action.USB_DEVICE_ATTACHED flg=0x11000010 (has extras) } in com.maxieds.chameleonminilivedebugger.LiveLoggerActivity$2@1e0e413 [Android 11, SDK 30] #46

Closed LordFisk closed 2 years ago

LordFisk commented 3 years ago

@maxieds:

Crash data summary:

Stack trace:


Detailed Stack Trace:
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.hardware.usb.action.USB_DEVICE_ATTACHED flg=0x11000010 ( has extras ) } in com.maxieds.chameleonminilivedebugger.LiveLoggerActivity$2@1e0e413
    at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args( LoadedApk.java:1642 )
    at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.
     run( Unknown Source:2 )
    at android.os.Handler.
     handleCallback( Handler.java:938 )
    at android.os.Handler.
     dispatchMessage( Handler.java:99 )
    at android.os.Looper.
     loop( Looper.java:246 )
    at android.app.ActivityThread.
     main( ActivityThread.java:8414 )
    at java.lang.reflect.Method.invoke( Native Method )
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.
     run( RuntimeInit.java:596 )
    at com.android.internal.os.ZygoteInit.
     main( ZygoteInit.java:1130 )
Caused by: java.lang.SecurityException: Need BLUETOOTH ADMIN permission: Neither user 10357 nor current process has android.permission.BLUETOOTH_ADMIN.
    at android.os.Parcel.
     createExceptionOrNull( Parcel.java:2385 )
    at android.os.Parcel.
     createException( Parcel.java:2369 )
    at android.os.Parcel.
     readException( Parcel.java:2352 )
    at android.os.Parcel.
     readException( Parcel.java:2294 )
    at android.bluetooth.IBluetooth$Stub$Proxy.
     cancelDiscovery( IBluetooth.java:3794 )
    at android.bluetooth.BluetoothAdapter.
     cancelDiscovery( BluetoothAdapter.java:2765 )
    at com.maxieds.chameleonminilivedebugger.BluetoothGattConnector.
     stopConnectingDevices( BluetoothGattConnector.java:227 )
    at com.maxieds.chameleonminilivedebugger.BluetoothSerialInterface.
     stopScanningDevices( BluetoothSerialInterface.java:204 )
    at com.maxieds.chameleonminilivedebugger.ChameleonSettings.
     stopSerialIOConnectionDiscovery( ChameleonSettings.java:77 )
    at com.maxieds.chameleonminilivedebugger.LiveLoggerActivity.
     onNewIntent( LiveLoggerActivity.java:489 )
    at com.maxieds.chameleonminilivedebugger.LiveLoggerActivity$2.
     onReceive( LiveLoggerActivity.java:219 )
    at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args( LoadedApk.java:1632 )
    ... 8 more

Additional comments: NONE -- Please fill in more details about how you generated this error, like what actions you took before this screen is displayed. Did the error happen on launch of the application? Did you click a button or switch tabs? Any extra details about how the error happened are useful to fixing the issue in future releases.