Fatal Exception: java.lang.NullPointerException Attempt to invoke interface method 'void android.location.ILocationManager.requestLocationUpdates(android.location.LocationRequest, android.location.ILocationListener, android.app.PendingIntent, java.lang.String)' on a null object reference
impateljay opened this issue · 0 comments
Stack trace
android.location.LocationManager.requestLocationUpdates (LocationManager.java:912)
android.location.LocationManager.requestLocationUpdates (LocationManager.java:543)
io.nlopez.smartlocation.location.providers.LocationManagerProvider.start (LocationManagerProvider.java:65)
io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesWithFallbackProvider.fallbackToLocationManager (LocationGooglePlayServicesWithFallbackProvider.java:88)
io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesWithFallbackProvider.onConnectionSuspended (LocationGooglePlayServicesWithFallbackProvider.java:75)
io.nlopez.smartlocation.location.providers.LocationGooglePlayServicesProvider.onConnectionSuspended (LocationGooglePlayServicesProvider.java:235)
com.google.android.gms.common.internal.zzae.zzcf (Unknown Source)
com.google.android.gms.common.api.internal.zzba.zzf (Unknown Source)
com.google.android.gms.common.api.internal.zzal.onConnectionSuspended (Unknown Source)
com.google.android.gms.common.api.internal.zzbi.onConnectionSuspended (Unknown Source)
com.google.android.gms.common.api.internal.zzt.onConnectionSuspended (Unknown Source)
com.google.android.gms.common.internal.zzac.onConnectionSuspended (Unknown Source)
com.google.android.gms.common.internal.zzh.handleMessage (Unknown Source)
android.os.Handler.dispatchMessage (Handler.java:102)
android.os.Looper.loop (Looper.java:148)
android.app.ActivityThread.main (ActivityThread.java:5609)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:797)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:687)