Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ArrayList.get() has thrown an ArrayIndexOutOfBoundsException
    Java Runtime
    56
    158
    8

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
    at java.util.ArrayList.get(ArrayList.java:413)
    at com.chad.library.adapter.base.BaseSectionQuickAdapter.getDefItemViewType(BaseSectionQuickAdapter.java:33)
    at com.chad.library.adapter.base.BaseQuickAdapter.getItemViewType(BaseQuickAdapter.java:464)
    at com.chad.library.adapter.base.listener.SimpleClickListener.isHeaderOrFooterPosition(SimpleClickListener.java:226)
3 frames hidden

External results for this pattern (10)

  1. lorematteivia GitHub4 days ago
    length=87; index=-1
    Show stack trace
  2. klisiewiczvia GitHub3 weeks ago
    length=364; index=-1
    Show stack trace
  3. programmoremvia GitHub3 weeks ago
    length=10; index=-1
    Show stack trace
  4. jeieavia GitHub1 month ago
  5. meronmksvia GitHub1 month ago
  6. september669via GitHub2 months ago
    length=10; index=-1
    Show stack trace