블루투스를 켜고 BLE 서버가 열려있는 상태에서, 블루투스를 껐다가 다시 키고 BLE 서버를 오픈할 때 아래와 같은 예외가 발생한다.
( DeadObjectException은 메모리에 사라진 객체에 접근할 때 발생하는 예외. )
“ 08-07 03:02:51.664: E/BluetoothGattServer(13370): android.os.DeadObjectException 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.BinderProxy.transact(Native Method) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.bluetooth.IBluetoothGatt$Stub$Proxy.registerServer(IBluetoothGatt.java:1149) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.bluetooth.BluetoothGattServer.registerCallback(BluetoothGattServer.java:332) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.bluetooth.BluetoothManager.openGattServer(BluetoothManager.java:212) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.BluetoothAssistant.startLeServer(BluetoothAssistant.java:231) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.BluetoothAssistant.onBluetoothStateOn(BluetoothAssistant.java:145) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.InterDeviceManager.handleStateMonitoring(InterDeviceManager.java:151) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.InterDeviceManager.onReceive(InterDeviceManager.java:99) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.Handler.handleCallback(Handler.java:730) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.Handler.dispatchMessage(Handler.java:92) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.Looper.loop(Looper.java:176) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.app.ActivityThread.main(ActivityThread.java:5455) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at java.lang.reflect.Method.invokeNative(Native Method) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at java.lang.reflect.Method.invoke(Method.java:525) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at dalvik.system.NativeStart.main(Native Method) 08-07 03:02:51.669: W/BluetoothAdapter(13370): getBluetoothService() called with no BluetoothManagerCallback “
( DeadObjectException은 메모리에 사라진 객체에 접근할 때 발생하는 예외. ) “
08-07 03:02:51.664: E/BluetoothGattServer(13370): android.os.DeadObjectException 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.BinderProxy.transact(Native Method) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.bluetooth.IBluetoothGatt$Stub$Proxy.registerServer(IBluetoothGatt.java:1149) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.bluetooth.BluetoothGattServer.registerCallback(BluetoothGattServer.java:332) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.bluetooth.BluetoothManager.openGattServer(BluetoothManager.java:212) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.BluetoothAssistant.startLeServer(BluetoothAssistant.java:231) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.BluetoothAssistant.onBluetoothStateOn(BluetoothAssistant.java:145) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.InterDeviceManager.handleStateMonitoring(InterDeviceManager.java:151) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at kr.poturns.blink.internal.InterDeviceManager.onReceive(InterDeviceManager.java:99) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.Handler.handleCallback(Handler.java:730) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.Handler.dispatchMessage(Handler.java:92) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.os.Looper.loop(Looper.java:176) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at android.app.ActivityThread.main(ActivityThread.java:5455) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at java.lang.reflect.Method.invokeNative(Native Method) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at java.lang.reflect.Method.invoke(Method.java:525) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025) 08-07 03:02:51.664: E/BluetoothGattServer(13370): at dalvik.system.NativeStart.main(Native Method) 08-07 03:02:51.669: W/BluetoothAdapter(13370): getBluetoothService() called with no BluetoothManagerCallback “