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
Open Nearby, allow Location Permission, Nearby Crashes
System logs:
java.lang.NullPointerException: Attempt to invoke virtual method 'double fr.free.nrw.commons.location.LatLng.getLatitude()' on a null object reference
at fr.free.nrw.commons.nearby.fragments.NearbyMapFragment.addCurrentLocationMarker(NearbyMapFragment.java:324)
at fr.free.nrw.commons.nearby.fragments.NearbyParentFragment.recenterMap(NearbyParentFragment.java:845)
at fr.free.nrw.commons.nearby.presenter.NearbyParentFragmentPresenter.lambda$setActionListeners$1$NearbyParentFragmentPresenter(NearbyParentFragmentPresenter.java:165)
at fr.free.nrw.commons.nearby.presenter.-$$Lambda$NearbyParentFragmentPresenter$SsMTyquU_-0wTkhYYQ8nWV2foSc.onClick(Unknown Source:2)
at android.view.View.performClick(View.java:7140)
at android.view.View.performClickInternal(View.java:7117)
at android.view.View.access$3500(View.java:801)
at android.view.View$PerformClick.run(View.java:27351)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Device and Android version:
What make and model device (e.g., Samsung J7) did you encounter this on?
What Android version (e.g., Android 4.0 Ice Cream Sandwich or Android 6.0 Marshmallow) are you running?
Android 10, Pixel2 XL Commons app version:
2.12.0
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered:
Summary:
Nearby Crashes with NPE
Steps to reproduce:
Open Nearby, allow Location Permission, Nearby Crashes
System logs:
Device and Android version:
What make and model device (e.g., Samsung J7) did you encounter this on?
What Android version (e.g., Android 4.0 Ice Cream Sandwich or Android 6.0 Marshmallow) are you running?
Android 10, Pixel2 XL
Commons app version:
2.12.0
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: