Here's the stack trace. Any thoughts?
java.lang.RuntimeException: Unable to start service
com.sebouh00.smartwifitoggler.WifiMonitorService@17d40de1 with Intent {
act=com.sebouh00.smartwifitoggler.startup
cmp=com.sebouh00.smartwifitoggler/.WifiMonitorService }:
java.lang.NullPointerException: Attempt to invoke interface method 'void
com.android.internal.telephony.Phone.updateServiceLocation()' on a null
object reference
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2911)
at android.app.ActivityThread.access$2100(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1401)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
*Caused by: java.lang.NullPointerException: Attempt to invoke interface
method 'void com.android.internal.telephony.Phone.updateServiceLocation()'
on a null object reference*
at android.os.Parcel.readException(Parcel.java:1552)
at android.os.Parcel.readException(Parcel.java:1499)
at
com.android.internal.telephony.ITelephony$Stub$Proxy.updateServiceLocation(ITelephony.java:1900)
at
android.telephony.CellLocation.requestLocationUpdate(CellLocation.java:42)
at
com.sebouh00.smartwifitoggler.WifiMonitorService.onStartCommand(SourceFile:2698)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2894)
... 9 more
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.