Skip to content

Attempt to invoke virtual method 'double fr.free.nrw.commons.location.LatLng.getLatitude()' #6330

Open
@RitikaPahwa4444

Description

@RitikaPahwa4444
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.PlacesLocalDataSource.fetchPlaces(PlacesLocalDataSource.java:60) at 
fr.free.nrw.commons.nearby.PlacesRepository.fetchPlaces(PlacesRepository.java:51) at 
fr.free.nrw.commons.nearby.presenter.NearbyParentFragmentPresenter$handleMapScrolled$2.invokeSuspend(
NearbyParentFragmentPresenter.kt:572) at 
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at 
kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at 
kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at 
kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at 
kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at 
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at 
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at 
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Suppressed: 
kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@a490737, 
Dispatchers.IO] IS_SILENT=false USER_CRASH_DATE=2025-05-28T16:06:11.947+02:00 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions