asksven/ALTitude — Issue #38: [bug] null pointer exception in  LocationService
Author: asksven
Created: 2012-02-13 20:43:06+00:00
State: open

in 0.8.2
java.lang.RuntimeException: Unable to create service com.asksven.betterlatitude.LocationService: java.lang.IllegalArgumentException: provider==null
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2969)
at android.app.ActivityThread.access$3300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: provider==null
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:625)
at com.asksven.betterlatitude.LocationService.registerLocationListener(LocationService.java:212)
at com.asksven.betterlatitude.LocationService.registerLocationListener(LocationService.java:171)
at com.asksven.betterlatitude.LocationService.onCreate(LocationService.java:136)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)