Open GoogleCodeExporter opened 9 years ago
What steps will reproduce the problem? 1. Started the app on both mobile and laptop 2. Sent a test notification 3. What is the expected output? What do you see instead? Test notification, I get "an error ocurred while receiving bluetooth notification My android version is 2.3.6 Please paste the application's log here (it should now be on your clipboard): I/CallOnGoingView( 1582): onAttachedToWindow I/CallOnGoingView( 1582): onDetachedFromWindow I/CallOnGoingView( 1582): onAttachedToWindow I/CallOnGoingView( 1582): onDetachedFromWindow I/CallOnGoingView( 1582): onAttachedToWindow I/CallOnGoingView( 1582): onDetachedFromWindow I/CallOnGoingView( 1582): onAttachedToWindow I/CallOnGoingView( 1582): onDetachedFromWindow I/CallOnGoingView( 1582): onAttachedToWindow I/CallOnGoingView( 1582): onDetachedFromWindow E/AndroidRuntime(17690): FATAL EXCEPTION: main E/AndroidRuntime(17690): java.lang.NullPointerException E/AndroidRuntime(17690): at com.google.android.apps.chrometophone.SetupActivity$6.onClick(SetupActivity.java :187) E/AndroidRuntime(17690): at android.view.View.performClick(View.java:2485) E/AndroidRuntime(17690): at android.view.View$PerformClick.run(View.java:9080) E/AndroidRuntime(17690): at android.os.Handler.handleCallback(Handler.java:587) E/AndroidRuntime(17690): at android.os.Handler.dispatchMessage(Handler.java:92) E/AndroidRuntime(17690): at android.os.Looper.loop(Looper.java:130) E/AndroidRuntime(17690): at android.app.ActivityThread.main(ActivityThread.java:3687) E/AndroidRuntime(17690): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(17690): at java.lang.reflect.Method.invoke(Method.java:507) E/AndroidRuntime(17690): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) E/AndroidRuntime(17690): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625) E/AndroidRuntime(17690): at dalvik.system.NativeStart.main(Native Method) D/WifiService( 1517): [mPersistState] : Off D/WifiService( 1517): [mPersistState] : Off D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 54 D/RemoteNotifier(19008): Battery level change: 2 D/RemoteNotifier(19008): Got battery update, but state change was not relevant V/WifiProgressStore(20113): WifiProgressStore Created D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 55 D/RemoteNotifier(19008): Battery level change: 3 D/RemoteNotifier(19008): Got battery update, but state change was not relevant D/WifiService( 1517): [mPersistState] : Off D/WifiLocator( 1638): Too many no-location APs. Will not compute a location nor go to the server. hasLocation=0 noLocation=0 cacheMiss=0 D/WifiService( 1517): [mPersistState] : Off D/WifiService( 1517): [mPersistState] : Off D/WifiService( 1517): [mPersistState] : Off D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 55 D/RemoteNotifier(19008): Battery level change: 3 D/RemoteNotifier(19008): Got battery update, but state change was not relevant D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 55 D/RemoteNotifier(19008): Battery level change: 3 D/RemoteNotifier(19008): Got battery update, but state change was not relevant D/WifiService( 1517): [mPersistState] : Off D/WifiService( 1517): [mPersistState] : Off D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 55 D/RemoteNotifier(19008): Battery level change: 3 D/RemoteNotifier(19008): Got battery update, but state change was not relevant D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 56 D/RemoteNotifier(19008): Battery level change: 4 D/RemoteNotifier(19008): Got battery update, but state change was not relevant D/WifiService( 1517): [mPersistState] : Off D/WifiService( 1517): [mPersistState] : Off D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 56 D/RemoteNotifier(19008): Battery level change: 4 D/RemoteNotifier(19008): Got battery update, but state change was not relevant D/WifiService( 1517): [mPersistState] : Off D/WifiService( 1517): [mPersistState] : Off V/WifiProgressStore(20321): WifiProgressStore Created D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 57 D/RemoteNotifier(19008): Battery level change: 5 D/RemoteNotifier(19008): Notifying of battery state change D/RemoteNotifier(19008): Sending notification: v2/36950165faa32fef/8c4ba6a1ef4d89/BATTERY/57/Charging, remaining charge: 57% D/RemoteNotifier(19008): Enabling bluetooth and delaying notification I/BluetoothService( 1517): enable... D/BluetoothService( 1517): setAddress(Starting) = F8D0BDD3B0D6 D/BluetoothService( 1517): keep current bluetooth address = F8D0BDD3B0D6 D/BluetoothService( 1517): Bluetooth state 10 -> 11 E/BluetoothSettingButton( 1582): onReceive()-S:11 D/RemoteNotifier(19008): Not notifying over IP/wifi - not connected. D/WifiHW ( 1517): wifi_bt_event_handler: bt_on = 1 D/WifiHW ( 1517): set_deepsleep_mode: MPC 0 Done D/WifiHW ( 1517): set_deepsleep_mode: Deepsleep 1 Done D/BluetoothEventLoop( 1517): Starting Event Loop thread E/BluetoothEventLoop.cpp( 1517): onDiscoverServicesResult: D-Bus error: org.freedesktop.DBus.Error.NoReply (Message did not receive a reply (timeout by message bus)) E/BluetoothEventLoop.cpp( 1517): onDiscoverServicesResult: D-Bus error: org.freedesktop.DBus.Error.NoReply (Message did not receive a reply (timeout by message bus)) D/BluetoothService( 1517): found 1 bonded devices D/BluetoothService( 1517): Bluetooth state 11 -> 12 W/BluetoothService( 1517): setScanMode is called 21 E/BluetoothEventLoop.cpp( 1517): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/20414/hci0 D/RemoteNotifier(19008): Method bluetooth connected, sending delayed notification after 5525ms D/BluetoothSocket(19008): create BluetoothSocket: type = 1, fd = -1, uuid = [7674047e-6e47-4bf0-831f-209e3f9dd23f], port = -1 E/BluetoothSettingButton( 1582): onReceive()-S:12 D/RemoteNotifier(19008): Connecting to Bluetooth device HAITHAMMOHAMED E/BluetoothEventLoop.cpp( 1517): onCreateDeviceResult: D-Bus error: org.bluez.Error.AlreadyExists (Device already exists) D/BluetoothEventLoop( 1517): Result of onCreateDeviceResult:1 W/BluetoothServiceManager( 1601): Bluetooth Service Manager already initialized.....Skipping init()... D/BluetoothServiceManager( 1601): onBluetoothEnabled() D/BluetoothServiceConfig( 1601): isServiceEnabled result_bt: 1 D/BluetoothServiceConfig( 1601): isServiceEnabled result_fm: 0 D/BluetoothServiceManager( 1601): ***startService(): Starting service: bluetooth_opp_service*** D/BluetoothServiceManager( 1601): ***startService(): Done starting service: bluetooth_opp_service*** D/BluetoothServiceConfig( 1601): isServiceEnabled result_bt: 1 D/BluetoothServiceConfig( 1601): isServiceEnabled result_fm: 0 D/BluetoothServiceManager( 1601): ***startService(): Starting service: bluetooth_ftp*** D/BluetoothFTPService( 1601): onFtpServerEnabled() called. D/BluetoothServiceManager( 1601): ***startService(): Done starting service: bluetooth_ftp*** D/BluetoothServiceConfig( 1601): isServiceEnabled result_bt: 1 D/BluetoothServiceConfig( 1601): isServiceEnabled result_fm: 0 D/BluetoothServiceManager( 1601): ***startService(): Starting service: bluetooth_pbap*** I/BluetoothPBAPService( 1601): start: mPbapMode = 2 I/BluetoothPBAPService( 1601): Start Java PBAP server: permission = [android.permission.BLUETOOTH]... D/BluetoothServiceManager( 1601): ***startService(): Done starting service: bluetooth_pbap*** D/BluetoothServiceConfig( 1601): isServiceEnabled result_bt: 1 D/BluetoothServiceConfig( 1601): isServiceEnabled result_fm: 0 D/BluetoothServiceManager( 1601): ***startService(): Starting service: bluetooth_test*** D/BluetoothServiceManager( 1601): ***startService(): Done starting service: bluetooth_test*** E/BluetoothEventLoop.cpp( 1517): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/20414/hci0/dev_00_26_5E_BF_16_5F I/BluetoothService( 1517): ACL connected, mAclLinkCount = 1 V/WifiProgressStore(20433): WifiProgressStore Created E/BluetoothEventLoop.cpp( 1517): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/20414/hci0/dev_00_26_5E_BF_16_5F D/BluetoothService( 1517): uuid(system): 00001108-0000-1000-8000-00805f9b34fb 4360 D/BluetoothService( 1517): uuid(application): 7674047e-6e47-4bf0-831f-209e3f9dd23f 13 D/BluetoothService( 1517): Making callback for 7674047e-6e47-4bf0-831f-209e3f9dd23f with result 13 V/BluetoothEventRedirector(20433): Received android.bleutooth.device.action.UUID D/RemoteNotifier(19008): Sent notification over Bluetooth (0 retries). I/BluetoothService( 1517): disable... W/BluetoothService( 1517): setScanMode is called 20 D/BluetoothService( 1517): Bluetooth state 12 -> 13 I/BluetoothA2dpService( 1517): onBluetoothDisable... D/BluetoothA2dpService( 1517): completeBluetoothDisable: forceDisable = false I/BluetoothA2dpService( 1517): A2DP profile has been disconnected. E/BluetoothSettingButton( 1582): onReceive()-S:13 V/BluetoothEventRedirector(20433): Received android.bluetooth.adapter.action.STATE_CHANGED I/BluetoothService( 1517): Received profile 2 disconnected intent. E/BluetoothEventLoop.cpp( 1517): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/20414/hci0 E/BluetoothEventLoop.cpp( 1517): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/20414/hci0 E/BluetoothEventLoop.cpp( 1517): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/20414/hci0 I/BluetoothService( 1517): Received profile 1 disconnected intent. D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 58 D/RemoteNotifier(19008): Battery level change: 1 D/RemoteNotifier(19008): Got battery update, but state change was not relevant E/BluetoothEventLoop.cpp( 1517): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/20414/hci0/dev_00_26_5E_BF_16_5F I/BluetoothService( 1517): ACL disconnected, mAclLinkCount = 0 I/BluetoothService( 1517): Received MESSAGE_FINISH_DISABLE I/BluetoothService( 1517): finishDisable... D/BluetoothEventLoop( 1517): Stopping Event Loop thread D/BluetoothEventLoop.cpp( 1517): BluetoothEventLoop:socketpair[231 233] closed on loop exit D/BluetoothEventLoop.cpp( 1517): stopEventLoopNative:socketpair[-1 -1] D/BluetoothFTPService( 1601): onFtpServerDisabled() called. D/BluetoothServiceConfig(20475): isServiceEnabled result_bt: 1 D/BluetoothServiceConfig(20475): isServiceEnabled result_fm: 0 D/BluetoothOPP(20475): Constructor: Reference Count = 1 V/BluetoothPbapReceiver(20486): PbapReceiver onReceive: broadcom.android.bluetooth.intent.action.BT_PBAP_CHANGED D/RemoteNotifier(19008): Battery status: Charging D/RemoteNotifier(19008): Got battery level: 58 D/RemoteNotifier(19008): Battery level change: 1 D/RemoteNotifier(19008): Got battery update, but state change was not relevant D/WifiHW ( 1517): wifi_bt_event_handler: bt_on = 0 D/WifiHW ( 1517): wifi_bt_event_handler: supplicant or hotspot is not runnning, so unload wifi driver V/BluetoothPbapService(20486): Pbap Service onCreate V/BluetoothPbapService(20486): Starting PBAP service V/BluetoothPbapService(20486): Pbap Service onStartCommand V/BluetoothPbapService(20486): action: broadcom.android.bluetooth.intent.action.BT_PBAP_CHANGED D/BluetoothService( 1517): Bluetooth state 13 -> 10 E/BluetoothSettingButton( 1582): onReceive()-S:10 D/BluetoothServiceManager( 1601): onBluetoothDisabled() D/BluetoothServiceManager( 1601): ***stopService(): Stopping service: bluetooth_opp_service*** D/BluetoothServiceManager( 1601): ***stopService(): Stop service: bluetooth_opp_service *** D/BluetoothServiceManager( 1601): ***stopService(): Stopping service: bluetooth_ftp*** D/BluetoothServiceManager( 1601): ***stopService(): Stop service: bluetooth_ftp *** D/BluetoothServiceManager( 1601): ***stopService(): Stopping service: bluetooth_pbap*** D/BluetoothServiceManager( 1601): ***stopService(): Stop service: bluetooth_pbap *** I/BluetoothPBAPService( 1601): stop: mPbapMode = 2 I/BluetoothPBAPService( 1601): Stop Java PBAP server... D/BluetoothPBAPService( 1601): onPbapDisabled D/BluetoothServiceManager( 1601): ***stopService(): Stopping service: bluetooth_test*** D/BluetoothServiceManager( 1601): ***stopService(): Stop service: bluetooth_test *** D/BluetoothServiceManager( 1601): Finishing service bluetooth_ftp V/WifiProgressStore(20592): WifiProgressStore Created D/BluetoothServiceManager( 1601): Finishing service bluetooth_opp_service V/BluetoothPbapReceiver(20486): PbapReceiver onReceive: broadcom.android.bluetooth.intent.action.BT_PBAP_CHANGED V/BluetoothPbapService(20486): Pbap Service onStartCommand V/BluetoothPbapService(20486): action: broadcom.android.bluetooth.intent.action.BT_PBAP_CHANGED V/BluetoothPbapService(20486): Pbap Service closeService V/BluetoothPbapService(20486): successfully stopped pbap service V/BluetoothPbapService(20486): Pbap Service onDestroy V/BluetoothPbapService(20486): Pbap Service closeService D/BluetoothServiceManager( 1601): Finishing service bluetooth_pbap D/BluetoothServiceManager( 1601): Finishing service bluetooth_test D/WifiService( 1517): [mPersistState] : Off D/WifiService( 1517): [mPersistState] : Off D/BluetoothSocket(19008): socket already in closing state:android.bluetooth.BluetoothSocket@4051b390 V/WifiProgressStore(20639): WifiProgressStore Created What version of Android are you using?
Original issue reported on code.google.com by Haitham....@gmail.com on 6 Oct 2012 at 12:29
Haitham....@gmail.com
Original issue reported on code.google.com by
Haitham....@gmail.com
on 6 Oct 2012 at 12:29