Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

Find a serious crash #34

Open
LvZW1895 opened this issue Apr 7, 2021 · 0 comments
Open

Find a serious crash #34

LvZW1895 opened this issue Apr 7, 2021 · 0 comments

Comments

@LvZW1895
Copy link

LvZW1895 commented Apr 7, 2021

APK Version : 1.4
AndroidOS Version: 7.1.1
Description information:
This crash happened by accident when I was testing in different devices. And this crash happened very frequently. I hope it can help you to debug.

crash:
CRASH: app.librenews.io.librenews (pid 32668) (dump time: 2021-03-29 19:18:45
Version: 1.4
Long Msg: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.View.getContext()' on a null object reference
at app.librenews.io.librenews.views.SettingsActivityFragment.onSharedPreferenceChanged(SettingsActivityFragment.java:26)
at android.app.SharedPreferencesImpl$EditorImpl.notifyListeners(SharedPreferencesImpl.java:479)
at android.app.SharedPreferencesImpl$EditorImpl.apply(SharedPreferencesImpl.java:387)
at android.preference.Preference.tryCommit(Preference.java:1415)
at android.preference.Preference.persistBoolean(Preference.java:1677)
at android.preference.TwoStatePreference.setChecked(TwoStatePreference.java:81)
at android.preference.TwoStatePreference.onClick(TwoStatePreference.java:66)
at android.preference.Preference.performClick(Preference.java:994)
at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:278)
at android.widget.AdapterView.performItemClick(AdapterView.java:310)
at android.widget.AbsListView.performItemClick(AbsListView.java:1239)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3258)
at android.widget.AbsListView$6.run(AbsListView.java:4205)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6245)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790)
crashend

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant