java.lang.ArrayIndexOutOfBoundsException: length=0; index=-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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
at java.util.ArrayList.get(
at es.ugr.swad.swadroid.modules.notifications.NotificationsExpandableListAdapter.getChildId(
at es.ugr.swad.swadroid.modules.notifications.Notifications$2.onSwipeLeft(
at es.ugr.swad.swadroid.gui.SwipeListViewTouchListener$4.onAnimationEnd(
at android.animation.ValueAnimator.endAnimation(
at android.animation.ValueAnimator.access$400(
at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(
at android.animation.ValueAnimator$
at android.view.Choreographer$
at android.view.Choreographer.doCallbacks(
at android.view.Choreographer.doFrame(
at android.view.Choreographer$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(

Users with the same issue

Once, 11 months ago
148 times, 11 months ago
Once, 1 year ago
10 times, 1 year ago
Once, 3 months ago

Write tip

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