Skip to content

ArrayIndexOutOfBoundsException in notification settings #905

@nbradbury

Description

@nbradbury
  • Open the preferences view.
  • Enter to the “Show/hide WordPress.com blogs” view. Go back.
  • Enter to the “Manage notifications”, go the Blogs section and try to check/uncheck any of the checkboxes. By doing so, there seems to be a ArrayIndexOutOfBoundsException.
java.lang.IndexOutOfBoundsException: Invalid index 77, size is 66
            at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
            at java.util.ArrayList.get(ArrayList.java:308)
            at org.wordpress.android.ui.prefs.PreferencesActivity$7.onPreferenceChange(PreferencesActivity.java:370)
            at android.preference.Preference.callChangeListener(Preference.java:897)
            at android.preference.TwoStatePreference.onClick(TwoStatePreference.java:66)
            at android.preference.Preference.performClick(Preference.java:952)
            at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:215)
            at android.widget.AdapterView.performItemClick(AdapterView.java:299)
            at android.widget.AbsListView.performItemClick(AbsListView.java:1113)
            at android.widget.AbsListView$PerformClick.run(AbsListView.java:2904)
            at android.widget.AbsListView$3.run(AbsListView.java:3638)
            at android.os.Handler.handleCallback(Handler.java:733)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:136)
            at android.app.ActivityThread.main(ActivityThread.java:5017)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
            at dalvik.system.NativeStart.main(Native Method)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions