Android - Fabric crash, cannot load from destroyed activity

Description

https://fabric.io/edx-inc/android/apps/org.edx.mobile/issues/56ab5ce8f5d3a7f76b6d6638

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 Fatal Exception: 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.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:91) at com.bumptech.glide.Glide.with(Glide.java:629) at org.edx.mobile.view.adapters.CourseCardViewHolder.setCourseImage(CourseCardViewHolder.java:54) at org.edx.mobile.view.adapters.MyCourseAdapter.render(MyCourseAdapter.java:32) at org.edx.mobile.view.adapters.MyCourseAdapter.render(MyCourseAdapter.java:16) at org.edx.mobile.view.adapters.BaseListAdapter.getView(BaseListAdapter.java:162) at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) at android.widget.AbsListView.obtainView(AbsListView.java:2207) at android.widget.ListView.makeAndAddView(ListView.java:1860) at android.widget.ListView.fillSpecific(ListView.java:1339) at android.widget.ListView.layoutChildren(ListView.java:1654) at android.widget.AbsListView.onLayout(AbsListView.java:2037) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:596) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:985) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:985) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528) at android.widget.LinearLayout.onLayout(LinearLayout.java:1441) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:435) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528) at android.widget.LinearLayout.onLayout(LinearLayout.java:1441) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:14101) at android.view.ViewGroup.layout(ViewGroup.java:4464) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2187) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1951) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1143) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4883) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:776) at android.view.Choreographer.doCallbacks(Choreographer.java:579) at android.view.Choreographer.doFrame(Choreographer.java:548) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762) at android.os.Handler.handleCallback(Handler.java:725) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:153) at android.app.ActivityThread.main(ActivityThread.java:5336) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(NativeStart.java)

Steps to Reproduce

None

Reason for Variance

None

Release Notes

None

Customer Problem Statement

None

Status

Assignee

Unassigned

Reporter

Christopher Lee

Labels

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Sub-Team(s)

None

Reach

None

Impact

None

Open edX Discourse Thread

None

Components

Priority

CAT-3
Configure