java.lang.ArrayIndexOutOfBoundsException

length=1; 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=1; index=-1 at java.util.ArrayList.get(ArrayList.java:310) at com.afollestad.materialdialogs.DefaultRvAdapter$DefaultVH.onClick(DefaultRvAdapter.java:172) at android.view.View.performClick(View.java:5201) at android.view.View$PerformClick.run(View.java:21215) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5525) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)

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
3 times, last one
filpgamefilpgame
2 times, last one
leankuronekoleankuroneko
Once,
bmacedobmacedo
2 times, last one
39 more bugmates