Android: Crashlytics - crash onPrefManager

Description

https://fabric.io/edx-inc/android/apps/org.edx.mobile/issues/55548d7ff505b5ccf0d22fbf

java.lang.NullPointerException
at org.edx.mobile.module.prefs.PrefManager.getBoolean(PrefManager.java:92)
at org.edx.mobile.module.prefs.UserPrefs.isDownloadOverWifiOnly(UserPrefs.java:30)
at org.edx.mobile.util.MediaConsentUtils.consentToMediaPlayback(MediaConsentUtils.java:36)
at org.edx.mobile.player.VideoListFragment$1.onItemClicked(VideoListFragment.java:212)
at org.edx.mobile.view.adapters.OnlineVideoAdapter.onItemClick(OnlineVideoAdapter.java:219)
at android.widget.AdapterView.performItemClick(AdapterView.java:313)
at android.widget.AbsListView.performItemClick(AbsListView.java:1507)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3514)
at android.widget.AbsListView$3.run(AbsListView.java:5072)
at android.widget.AbsListView.onDetachedFromWindow(AbsListView.java:3343)
at android.view.View.dispatchDetachedFromWindow(View.java:13572)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2805)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2803)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2803)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2803)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2803)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2803)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2803)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2803)
at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3368)
at android.view.ViewRootImpl.doDie(ViewRootImpl.java:6242)
at android.view.ViewRootImpl.die(ViewRootImpl.java:6219)
at android.view.WindowManagerGlobal.removeViewLocked(WindowManagerGlobal.java:365)
at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:320)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:84)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3868)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4050)
at android.app.ActivityThread.access$1000(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1314)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5653)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at dalvik.system.NativeStart.main(NativeStart.java)

Steps to Reproduce

None

Reason for Variance

None

Release Notes

None

Customer Problem Statement

None

Status

Assignee

hanningR

Reporter

hanningR

Labels

None

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-2
Configure