Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in getting address using GeoCoder #15

Open
SweetD3v opened this issue Jul 4, 2023 · 0 comments
Open

Crash in getting address using GeoCoder #15

SweetD3v opened this issue Jul 4, 2023 · 0 comments

Comments

@SweetD3v
Copy link

SweetD3v commented Jul 4, 2023

I am getting this crash in my app. I have cancelled the job used to get location updates in onStop() and onDestroy() of my activity.
Here are the traces,

Exception java.io.IOException:
  at android.location.Geocoder$SynchronousGeocoder.getResults (Geocoder.java:388)
  at android.location.Geocoder.getFromLocation (Geocoder.java:134)
  at com.patloew.colocation.CoGeocoderImpl$getAddressListFromLocation$3.invokeSuspend
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (BaseContinuationImpl.java)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.java)
  at kotlinx.coroutines.internal.LimitedDispatcher.run (LimitedDispatcher.java)
  at kotlinx.coroutines.scheduling.TaskImpl.run (TaskImpl.java)
  at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.java:82)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.java:82)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.java:82)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.java:82)

I'm not using ViewModel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant