gjtorikian / Shelves

An Android application that manages your collection of apparel, board games, books, comics, gadgets, movies, music, software, tools, toys, and video games.
https://play.google.com/store/apps/details?id=com.miadzin.shelves&hl=en
Apache License 2.0
112 stars 83 forks source link

The app crashes when clicking on the "Calendar" feature #29

Open ahyar92 opened 6 years ago

ahyar92 commented 6 years ago

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

https://www.youtube.com/watch?v=xm_cpCSLID8&feature=youtu.be


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.