jerryw / android-notifier

Automatically exported from code.google.com/p/android-notifier
1 stars 0 forks source link

Remote notifier app not working #417

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turn on Bluetooth
2. Turn on Wi-fi
3. Send test notification

What is the expected output? What do you see instead?
Notification. Error message.

Please paste the application's log here (it should now be on your
clipboard):
 D/WifiService(29915): got ACTION_DHCP_LEASE_RENEW
D/WifiService(29915): Dhcp renew - lease grace time < 1/2 duration
D/WifiService(29915): Dhcp renew - setting timer for 30000ms, retries=2
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): got ACTION_DHCP_LEASE_RENEW
D/WifiService(29915): Dhcp renew - lease grace time < 1/2 duration
D/WifiService(29915): Dhcp renew - setting timer for 30000ms, retries=3
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): ACTION_SCREEN_ON
D/WifiService(29915): Dhcp renew - cancelling timer
D/WifiService(29915): Dhcp renew - releasing wake lock
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.BinderProxy@40d1cdb8} Mode: 2
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.BinderProxy@40d1cdb8} Mode: 2
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): ACTION_SCREEN_OFF
D/WifiService(29915): Dhcp renew - setting timer for -14056023ms
D/WifiService(29915): setting ACTION_DEVICE_IDLE timer for 900000ms
D/WifiService(29915): got ACTION_DHCP_LEASE_RENEW
D/WifiService(29915): Dhcp renew - lease grace time < 1/2 duration
D/WifiService(29915): Dhcp renew - acquiring wake lock
D/WifiService(29915): Dhcp renew - setting timer for 30000ms, retries=1
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.BinderProxy@40d1cdb8} Mode: 2
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.BinderProxy@40d1cdb8} Mode: 2
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): got ACTION_DHCP_LEASE_RENEW
D/WifiService(29915): Dhcp renew - lease grace time < 1/2 duration
D/WifiService(29915): Dhcp renew - setting timer for 30000ms, retries=2
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): got ACTION_DHCP_LEASE_RENEW
D/WifiService(29915): Dhcp renew - lease grace time < 1/2 duration
D/WifiService(29915): Dhcp renew - setting timer for 30000ms, retries=3
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): got ACTION_DHCP_LEASE_RENEW
D/WifiService(29915): Dhcp renew - lease grace time < 1/2 duration
D/WifiService(29915): Dhcp renew - exceed max retry count
D/WifiService(29915): Dhcp renew - releasing wake lock
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): ACTION_SCREEN_ON
D/WifiService(29915): Dhcp renew - cancelling timer
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(29915): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 2
E/AndroidRuntime(15167): FATAL EXCEPTION: main
E/AndroidRuntime(15167): java.lang.NullPointerException
E/AndroidRuntime(15167):    at 
org.damazio.notifier.EditableListPreference$2.onClick(EditableListPreference.jav
a:171)
E/AndroidRuntime(15167):    at 
com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertContro
ller.java:159)
E/AndroidRuntime(15167):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(15167):    at android.os.Looper.loop(Looper.java:143)
E/AndroidRuntime(15167):    at 
android.app.ActivityThread.main(ActivityThread.java:4306)
E/AndroidRuntime(15167):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(15167):    at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(15167):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime(15167):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime(15167):    at dalvik.system.NativeStart.main(Native Method)
D/WifiService(29915): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(29915): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(29915): acquireWifiLockLocked: WifiLock{com_yahoo_sync_wifilock 
type=1 binder=android.os.BinderProxy@40c616f0} Mode: 1
D/WifiService(29915): enable and start wifi due to updateWifiState
D/WifiService(29915): releaseWifiLockLocked: WifiLock{com_yahoo_sync_wifilock 
type=1 binder=android.os.BinderProxy@40c616f0} Mode: 1
D/WifiService(29915): enable and start wifi due to updateWifiState
D/BluetoothSocket(15785): close(): android.bluetooth.BluetoothSocket@405bdd60
D/BluetoothSocket(15785): socket already in closing 
state:android.bluetooth.BluetoothSocket@405bdd60
D/BluetoothSocket(15785): close(): android.bluetooth.BluetoothSocket@405b36a0
D/BluetoothSocket(15785): socket already in closing 
state:android.bluetooth.BluetoothSocket@405b36a0
D/BluetoothSocket(15785): close(): android.bluetooth.BluetoothSocket@4059f2c8
D/BluetoothSocket(15785): socket already in closing 
state:android.bluetooth.BluetoothSocket@4059f2c8
D/BluetoothSocket(15785): close(): android.bluetooth.BluetoothSocket@40595770
D/BluetoothSocket(15785): socket already in closing 
state:android.bluetooth.BluetoothSocket@40595770
D/BluetoothSocket(15785): close(): android.bluetooth.BluetoothSocket@4057dc28
D/BluetoothSocket(15785): socket already in closing 
state:android.bluetooth.BluetoothSocket@4057dc28
V/BluetoothEventRedirector(16166): Received android.bleutooth.device.action.UUID
D/RemoteNotifier(15785): Sending notification: 
v2/a67f1299bc090bfa/4b404a0b59c1b/PING//Test notification
D/RemoteNotifier(15785): Sending wifi notification to IP 192.168.2.10
D/RemoteNotifier(15785): Sending over UDP
D/RemoteNotifier(15785): Sent over UDP
I/RemoteNotifier(15785): Sent notification over WiFi.
D/PhoneWindow(14077): couldn't save which view has focus because the focused 
view com.android.internal.policy.impl.PhoneWindow$DecorView@4057a010 has no id.
E/BluetoothService.cpp(29915): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier(15785): Not starting service again

What version of Android are you using?
Not sure

Original issue reported on code.google.com by bobcatba...@gmail.com on 24 Jul 2011 at 5:01