You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you unsubscribe from LocationUpdatesFlowableOnSubscribe before onGoogleApiClientReady is called, there is no locationListener instance initialized and we got a NPE
Fatal Exception: java.lang.NullPointerException: Listener must not be null
at com.google.android.gms.common.internal.zzbq.checkNotNull(Unknown Source)
at com.google.android.gms.common.api.internal.zzcp.zzb(Unknown Source)
at com.google.android.gms.internal.zzcdh.zza(Unknown Source)
at com.google.android.gms.common.api.internal.zzm.zzb(Unknown Source)
at com.google.android.gms.common.api.internal.zzao.zze(Unknown Source)
at com.google.android.gms.common.api.internal.zzbl.zze(Unknown Source)
at com.google.android.gms.common.api.internal.zzbd.zze(Unknown Source)
at com.google.android.gms.internal.zzccy.removeLocationUpdates(Unknown Source)
at com.patloew.rxlocation.LocationUpdatesFlowableOnSubscribe.onUnsubscribed(LocationUpdatesFlowableOnSubscribe.java:54)
at com.patloew.rxlocation.RxLocationFlowableOnSubscribe.lambda$subscribe$0(RxLocationFlowableOnSubscribe.java:58)
at com.patloew.rxlocation.RxLocationFlowableOnSubscribe$$Lambda$1.cancel(Unknown Source)
at io.reactivex.internal.disposables.CancellableDisposable.dispose(CancellableDisposable.java:49)
The text was updated successfully, but these errors were encountered:
I think you have introduced this bug in 1.0.3
When you unsubscribe from
LocationUpdatesFlowableOnSubscribe
beforeonGoogleApiClientReady
is called, there is no locationListener instance initialized and we got a NPEFatal Exception: java.lang.NullPointerException: Listener must not be null
at com.google.android.gms.common.internal.zzbq.checkNotNull(Unknown Source)
at com.google.android.gms.common.api.internal.zzcp.zzb(Unknown Source)
at com.google.android.gms.internal.zzcdh.zza(Unknown Source)
at com.google.android.gms.common.api.internal.zzm.zzb(Unknown Source)
at com.google.android.gms.common.api.internal.zzao.zze(Unknown Source)
at com.google.android.gms.common.api.internal.zzbl.zze(Unknown Source)
at com.google.android.gms.common.api.internal.zzbd.zze(Unknown Source)
at com.google.android.gms.internal.zzccy.removeLocationUpdates(Unknown Source)
at com.patloew.rxlocation.LocationUpdatesFlowableOnSubscribe.onUnsubscribed(LocationUpdatesFlowableOnSubscribe.java:54)
at com.patloew.rxlocation.RxLocationFlowableOnSubscribe.lambda$subscribe$0(RxLocationFlowableOnSubscribe.java:58)
at com.patloew.rxlocation.RxLocationFlowableOnSubscribe$$Lambda$1.cancel(Unknown Source)
at io.reactivex.internal.disposables.CancellableDisposable.dispose(CancellableDisposable.java:49)
The text was updated successfully, but these errors were encountered: