java.lang.IllegalArgumentException

tip

This is mostly caused by an async call trying to load something to an object that's already been destroyed. Use a pauseRequests() on the onDestroy method.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Crash due to LinkPreviewLoading
    via GitHub by viveksb007
    ,
  • crash with ImageUtils
    via GitHub by santhoshsachindran
    ,
  • GitHub comment 803#283293957
    via GitHub by nadsikan
    ,
  • GitHub comment 94#299933124
    via GitHub by atomjack
    ,
    • java.lang.IllegalArgumentException: You cannot start a load for a destroyed activity at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed(RequestManagerRetriever.java:134) at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:102) at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:87) at com.bumptech.glide.Glide.with(Glide.java:629) at gamingproject.sellmybooks.UserProfile.getUserData(UserProfile.java:114) at gamingproject.sellmybooks.UserProfile.access$000(UserProfile.java:39) at gamingproject.sellmybooks.UserProfile$1.onDataChange(UserProfile.java:75) at com.google.android.gms.internal.zzaie.zza(Unknown Source) at com.google.android.gms.internal.zzaje.zzcta(Unknown Source) at com.google.android.gms.internal.zzajh$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5608) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1397) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1192)

    Users with the same issue

    Alexandru Popa
    3 times, last one,
    Unknown visitor1 times, last one,
    kuldeep
    2 times, last one,
    Unknown visitor1 times, last one,