The app crashes when clicking on the "Calendar" feature

Words
160
Reading
1 min
8y
Listen to this post
~1 min

Project Information

Repository : https://github.com/gjtorikian/Shelves
Title : Shelves
Publisher : Garen J Torikian

Expected behavior

Supposedly, I can use the "Calendar" feature without any errors.

Actual behavior

When I enter the settings menu and try to click on the "Calendar" feature, the application suddenly crashes. And I have tried for the second time, but the crashes still happens.

How to reproduce

  1. Install and open the app
  2. Go to the "Collection" page and select a collection (For example, just click on "Board Games")
  3. Next, go to the settings menu (located at the top right of the application)
    afafaf.jpg
  4. Next, click on the "Calendar" feature. Then you will find an error like I experienced.

  • Device: Xiaomi Redmi 4X
  • Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
  • Application Version: 3.7.2

Recording Of The Bug


Proof of Work Done

Submitted the issue on GitHub: Click here
My GitHub Profile: https://github.com/ahyar92


Logcat

05-29 00:22:10.548 14823 14823 E AndroidRuntime: FATAL EXCEPTION: main
05-29 00:22:10.548 14823 14823 E AndroidRuntime: Process: com.miadzin.shelves, PID: 14823
05-29 00:22:10.548 14823 14823 E AndroidRuntime: java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.java:249)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.preference.DialogPreference.showDialog(DialogPreference.java:306)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.preference.DialogPreference.onClick(DialogPreference.java:277)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.preference.Preference.performClick(Preference.java:994)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:214)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.widget.AdapterView.performItemClick(AdapterView.java:310)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.widget.AbsListView.performItemClick(AbsListView.java:1145)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.widget.AbsListView$PerformClick.run(AbsListView.java:3081)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.widget.AbsListView$3.run(AbsListView.java:3947)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:742)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5527)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-29 00:22:10.548 14823 14823 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-29 00:22:10.550 14823 14823 E MQSEventManagerDelegate: failed to get MQSService.
The app crashes when clicking on the "Calendar" feature | Ecency