java.lang.ArrayIndexOutOfBoundsException

length=28; index=-1


Solutions on the web5730

Solution icon of github
length=28; index=-1

Solution icon of stackoverflow
length=27; index=28

Solution icon of github
via GitHub by bcGiR
, 11 months ago
length=1; index=1

Solution icon of github
via GitHub by jahangirkabir
, 9 months ago
length=1; index=1

Solution icon of github
via GitHub by Ainiuso
, 9 months ago
length=1; index=1

Solution icon of github
via GitHub by aint
, 1 year ago
length=1; index=1

Solution icon of github
via GitHub by ste71m
, 1 year ago
length=1; index=1

Solution icon of github
length=1; index=1

Solution icon of github
via GitHub by virus-warnning
, 9 months ago
length=1; index=1

Stack trace

  • java.lang.ArrayIndexOutOfBoundsException: length=28; index=-1 at java.util.ArrayList.get(ArrayList.java:310) at com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter.getItem(RecyclerArrayAdapter.java:668) at com.jwbc.cn.ui.fragment.task.WXHistoryTaskFragment.onItemClick(WXHistoryTaskFragment.java:123) at com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter$3.onClick(RecyclerArrayAdapter.java:588)

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

Once, 1 week ago
3 times, 2 months ago
2 times, 6 months ago
Once, 7 months ago
2 times, 8 months ago
41 more bugmates