Skip to content

Exception in com.niceplaces.niceplaces.utils.ImageUtils.setImageViewWithGlide #2

@lorenzovngl

Description

@lorenzovngl

An exception of type java.lang.IllegalArgumentException occurred. The bug needs to be fixed.

Exception java.lang.IllegalArgumentException: You cannot start a load for a destroyed activity
  at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed (RequestManagerRetriever.java)
  at com.bumptech.glide.manager.RequestManagerRetriever.get (RequestManagerRetriever.java)
  at com.bumptech.glide.manager.RequestManagerRetriever.get (RequestManagerRetriever.java)
  at com.bumptech.glide.Glide.with (Glide.java)
  at com.niceplaces.niceplaces.utils.ImageUtils.setImageViewWithGlide (ImageUtils.java)
  at com.niceplaces.niceplaces.adapters.PlacesAdapter.getView (PlacesAdapter.java)
  at com.niceplaces.niceplaces.activities.MapsActivity.updatePlacesListView (MapsActivity.java)
  at com.niceplaces.niceplaces.activities.MapsActivity.updateLocation (MapsActivity.java)
  at com.niceplaces.niceplaces.activities.MapsActivity$sendNearestPlacesRequest$1.run (MapsActivity.java)
  at com.niceplaces.niceplaces.dao.DaoPlaces.getNearest$lambda-2 (DaoPlaces.java)
  at com.niceplaces.niceplaces.dao.DaoPlaces.lambda$7UJ2baHXwLircaRXhHSFXTFRVAg (DaoPlaces.java)
  at com.niceplaces.niceplaces.dao.-$$Lambda$DaoPlaces$7UJ2baHXwLircaRXhHSFXTFRVAg.onResponse (-.java)
  at com.android.volley.toolbox.StringRequest.deliverResponse (StringRequest.java)
  at com.android.volley.toolbox.StringRequest.deliverResponse (StringRequest.java)
  at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run (ExecutorDelivery.java)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:263)
  at android.app.ActivityThread.main (ActivityThread.java:8326)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:612)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1006)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions