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

  1. ,
    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.

  2. ,

    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

Solutions on the web

via GitHub by caocao123
, 1 year ago
Invalid index 1, size is 1
via GitHub by marcolivierarsenault
, 2 years ago
Invalid index 1, size is 1
via Stack Overflow by jason
, 2 years ago
via Stack Overflow by santirivera92
, 2 years ago
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 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176)	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2346)	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1701)	at android.app.Dialog.dispatchTouchEvent(Dialog.java:787)	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2303)	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)	at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)