java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1

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

Samebug tips

,
Expert tip

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.

,

Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at cn.qqtheme.framework.picker.AddressPicker$AddressProvider.provideThirdData(AddressPicker.java:298)
at cn.qqtheme.framework.picker.AddressPicker$2.onSelected(AddressPicker.java:203)
at cn.qqtheme.framework.widget.WheelView.onSelectedCallback(WheelView.java:311)
at cn.qqtheme.framework.widget.WheelView.refreshCurrentPosition(WheelView.java:353)
at cn.qqtheme.framework.widget.WheelView.onScroll(WheelView.java:450)
at android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:1585)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5264)
at android.widget.AbsListView.scrollIfNeeded(AbsListView.java:3583)
at android.widget.AbsListView.onTouchMove(AbsListView.java:3974)
at android.widget.AbsListView.onTouchEvent(AbsListView.java:3810)
at android.widget.ListView.onTouchEvent(ListView.java:4393)
at android.view.View.dispatchTouchEvent(View.java:8461)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2428)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2162)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2346)
at android.view.View.dispatchPointerEvent(View.java:8651)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4192)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4058)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3605)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3658)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3624)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3734)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3632)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3791)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3605)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3658)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3624)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3632)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3605)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5885)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5859)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5830)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5983)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 7 months ago
11 times, 11 months ago
4 times, 11 months ago
140 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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