java.lang.ArrayIndexOutOfBoundsException

length=12; index=-1

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web574

  • Stack trace

    • java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1 at java.util.ArrayList.get(ArrayList.java:310) at org.wordpress.android.ui.main.SitePickerAdapter.getItem(SitePickerAdapter.java:127) at org.wordpress.android.ui.main.SitePickerAdapter.access$300(SitePickerAdapter.java:32) at org.wordpress.android.ui.main.SitePickerAdapter$SiteViewHolder$1.onClick(SitePickerAdapter.java:89) at android.view.View.performClick(View.java:5197) at android.view.View$PerformClick.run(View.java:20926) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5951) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    PierrePierre
    3 times, last one
    Indri YunitaIndri Yunita
    6 times, last one
    filpgamefilpgame
    2 times, last one
    bmacedobmacedo
    2 times, last one
    ajinkya_wajinkya_w
    40 times, last one
    39 more bugmates