java.lang.IndexOutOfBoundsException

Invalid index 4, size is 1

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

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

Solutions on the web7486

  • Invalid index 4, size is 1
  • Invalid index 4, size is 1
  • via GitHub by dinash
    , 7 months ago
    Invalid index 4, size is 1
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Invalid index 4, size is 1 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at android.widget.HeaderViewListAdapter.isEnabled(HeaderViewListAdapter.java:164) at android.widget.AbsListView.onInitializeAccessibilityNodeInfoForItem(AbsListView.java:2525) at android.widget.ListView.onInitializeAccessibilityNodeInfoForItem(ListView.java:3949) at android.widget.AbsListView$ListItemAccessibilityDelegate.onInitializeAccessibilityNodeInfo(AbsListView.java:2452) at android.view.View.onInitializeAccessibilityNodeInfo(View.java:6079)

    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

    3 times, 1 month ago
    81 times, 1 month ago
    Unknown user
    Once, 3 months ago
    4 times, 4 months ago
    Once, 4 months ago
    242 more bugmates