java.lang.RuntimeException: Unable to start activity ComponentInfo{net.osmand.plus/net.osmand.plus.activities.SettingsGeneralActivity}: java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by agilob
, 1 year ago
Unable to start activity ComponentInfo{net.osmand.plus/net.osmand.plus.activities.SettingsGeneralActivity}: java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.
via GitHub by picon-software
, 2 years ago
Unable to start activity ComponentInfo{fr.eoit/fr.eoit.activity.SettingsActivity}: java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.
via GitHub by romainguefveneu
, 2 years ago
Unable to start activity ComponentInfo{net.naonedbus/net.naonedbus.activity.impl.MainActivity}: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM equipements ORDER BY equipements.idType,equipements.normalizedNom
via Stack Overflow by Vineet
, 2 years ago
Unable to start activity ComponentInfo{com.walletv2.activity/com.walletv2.activity.PayeeListActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.walletv2.activity.PayeeListActivity$PayeeListSectionFragment: make sure class name exists, is public, and has an empty constructor that is public
via GitHub by mwfarb
, 2 years ago
Unable to start activity ComponentInfo{edu.cmu.cylab.starslinger/edu.cmu.cylab.starslinger.view.HomeActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment edu.cmu.cylab.starslinger.view.MessagesFragment$MessagesAlertDialogFragment: make sure class name exists, is public, and has an empty constructor that is public
via GitHub by wenmingvs
, 1 year ago
Unable to start activity ComponentInfo{com.wenming.weiswift/com.wenming.weiswift.ui.login.activity.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.wenming.weiswift.ui.login.activity.MainActivity$6: make sure class name exists, is public, and has an empty constructor that is public
java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.
at android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.java:232)
at android.preference.DialogPreference.showDialog(DialogPreference.java:295)
at android.preference.DialogPreference.onRestoreInstanceState(DialogPreference.java:441)
at android.preference.ListPreference.onRestoreInstanceState(ListPreference.java:298)
at android.preference.Preference.dispatchRestoreInstanceState(Preference.java:1778)
at android.preference.PreferenceGroup.dispatchRestoreInstanceState(PreferenceGroup.java:327)
at android.preference.Preference.restoreHierarchyState(Preference.java:1760)
at android.preference.PreferenceActivity.onRestoreInstanceState(PreferenceActivity.java:936)
at android.app.Activity.performRestoreInstanceState(Activity.java:1063)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1133)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2176)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2225)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3735)
at android.app.ActivityThread.access$700(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5071)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.