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

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

via Stack Overflow by nick
, 1 year ago
via Stack Overflow by ARP
, 2 months ago
via GitHub by tio-ze
, 5 months ago
Invalid index 0, size is 0
via GitHub by tio-ze
, 6 months ago
Invalid index 0, size is 0
java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.remove(ArrayList.java:403)
at nidhinkumar.gridcam.Cam$ImageListAdapter.removeitem(Cam.java:360)
at nidhinkumar.gridcam.Cam$4.onActionItemClicked(Cam.java:200)
at android.support.v7.view.SupportActionModeWrapper$CallbackWrapper.onActionItemClicked(SupportActionModeWrapper.java:168)
at android.support.v7.app.AppCompatDelegateImplV7$ActionModeCallbackWrapperV7.onActionItemClicked(AppCompatDelegateImplV7.java:1703)
at android.support.v7.app.AppCompatDelegateImplV7$ActionModeCallbackWrapperV7.onActionItemClicked(AppCompatDelegateImplV7.java:1703)

Users with the same issue

4 times, 3 months ago
Once, 4 months ago
3 times, 7 months ago
12 times, 7 months ago
81 times, 7 months ago

Write tip

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