asksven/ALTitude — Issue #43: [bug] Null Pointer Exception
Author: asksven
Created: 2012-03-09 21:41:49+00:00
State: open

v0.9
java.lang.RuntimeException: Unable to create service com.asksven.betterlatitude.LocationService: java.lang.IllegalArgumentException: provider==null
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2076)
at android.app.ActivityThread.access$2500(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3835)
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:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: provider==null
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:441)
at com.asksven.betterlatitude.LocationService.registerLocationListener(LocationService.java:231)
at com.asksven.betterlatitude.LocationService.registerLocationListener(LocationService.java:177)
at com.asksven.betterlatitude.LocationService.onCreate(LocationService.java:142)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2066)