yayaa / LocationManager

Simplify getting user's location for Android
807 stars 186 forks source link

App crash on library version 2.4.1 #127

Open manishverma25 opened 1 year ago

manishverma25 commented 1 year ago

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void c.h.a.b.c.release()' on a null object reference at com.yayandroid.locationmanager.providers.locationprovider.DefaultLocationProvider.onLocationChanged(DefaultLocationProvider.java:231) at android.location.LocationListener.onLocationChanged(LocationListener.java:63) at android.location.LocationManager$LocationListenerTransport$1.operate(LocationManager.java:3247) at android.location.LocationManager$LocationListenerTransport$1.operate(LocationManager.java:3244) at com.android.internal.listeners.ListenerExecutor.lambda$executeSafely$0(ListenerExecutor.java:127) at com.android.internal.listeners.ListenerExecutor$$ExternalSyntheticLambda0.run(:8) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:223)

Its due to changes done in library version 2.4.1 updateRequest got null , pls fix and release it its hotfix