sofleo Site Admin
Joined: 31 Aug 2012 Posts: 17
|
Posted: Fri Sep 28, 2012 8:59 am Post subject: BluetoothDevicesDiscovery.a() |
|
|
It has been reported the following error:
BluetoothDevicesDiscovery.a()
java.lang.RuntimeException: Unable to start receiver com.sofleo.closetomefree.BluetoothDevicesDiscovery: java.lang.NullPointerException
at android.app.ActivityThread.handleReceiver(ActivityThread.java:1809)
at android.app.ActivityThread.access$2400(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.sofleo.closetomefree.BluetoothDevicesDiscovery.a(Unknown Source)
at com.sofleo.closetomefree.BluetoothDevicesDiscovery.onReceive(Unknown Source)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:1798)
... 10 more
The application registers the BluetoothDevicesDiscovery class as a system broadcast receiver (the declaration is inside the manifest) and sometimes the previous error is raised when some action is done with the bluetooth.
I have already seen this sometimes, but currently I have not yet understood the reason why it happens.
I will work on it. |
|