inaturalist / iNaturalistAndroid

Android app for iNaturalist.org
https://market.android.com/details?id=org.inaturalist.android
MIT License
168 stars 57 forks source link

IllegalArgumentException in ImageUtils.blur #1369

Closed kueda closed 1 month ago

kueda commented 1 month ago

https://console.firebase.google.com/u/0/project/inaturalist-ios/crashlytics/app/android:org.inaturalist.android/issues/b4231401fa006dd6a016337d893e7bc1

Fatal Exception: java.lang.IllegalArgumentException: You cannot start a load for a destroyed activity
       at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed(RequestManagerRetriever.java:383)
       at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:157)
       at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:137)
       at com.bumptech.glide.Glide.with(Glide.java:537)
       at org.inaturalist.android.ImageUtils.blur(ImageUtils.java:78)
       at org.inaturalist.android.UserProfile$12.onLoaded(UserProfile.java:873)
       at com.koushikdutta.urlimageviewhelper.UrlImageViewHelper$2.run(UrlImageViewHelper.java:648)
       at com.koushikdutta.urlimageviewhelper.HttpUrlDownloader$1.onPostExecute(HttpUrlDownloader.java:72)
       at com.koushikdutta.urlimageviewhelper.HttpUrlDownloader$1.onPostExecute(HttpUrlDownloader.java:29)
       at android.os.AsyncTask.finish(AsyncTask.java:771)
       at android.os.AsyncTask.-$$Nest$mfinish()