java.lang.ArrayIndexOutOfBoundsException: index=6

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.ArrayIndexOutOfBoundsException: index=6
at com.example.dell.MyApplication.GridViewWithHeaderAndFooter$HeaderViewGridAdapter.getView(GridViewWithHeaderAndFooter.java:738)
at android.widget.AbsListView.obtainView(AbsListView.java:2255)
at android.widget.GridView.makeAndAddView(GridView.java:1345)
at android.widget.GridView.makeRow(GridView.java:345)
at android.widget.GridView.fillDown(GridView.java:287)
at android.widget.GridView.fillGap(GridView.java:247)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5143)
at android.widget.AbsListView.onGenericMotionEvent(AbsListView.java:3811)
at android.view.View.dispatchGenericMotionEventInternal(View.java:7801)
at android.view.View.dispatchGenericMotionEvent(View.java:7782)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at android.view.View.dispatchGenericMotionEvent(View.java:7775)
at android.view.ViewGroup.dispatchTransformedGenericPointerEvent(ViewGroup.java:1824)
at android.view.ViewGroup.dispatchGenericPointerEvent(ViewGroup.java:1777)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchGenericMotionEvent(PhoneWindow.java:2076)
at android.view.View.dispatchPointerEvent(View.java:7888)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3947)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3826)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3392)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3442)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3411)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3518)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3419)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.