java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1 #161

Closed
opened 2014-09-20 00:33:23 +02:00 by Amab · 0 comments
Amab commented 2014-09-20 00:33:23 +02:00 (Migrated from github.com)
java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
at java.util.ArrayList.get(ArrayList.java:310)
at es.ugr.swad.swadroid.modules.notifications.NotificationsExpandableListAdapter.getChildId(NotificationsExpandableListAdapter.java:84)
at es.ugr.swad.swadroid.modules.notifications.Notifications$2.onSwipeRight(Notifications.java:636)
at es.ugr.swad.swadroid.gui.SwipeListViewTouchListener$4.onAnimationEnd(SwipeListViewTouchListener.java:382)
at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1020)
at android.animation.ValueAnimator.access$400(ValueAnimator.java:50)
at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:630)
at android.animation.ValueAnimator$AnimationHandler.run(ValueAnimator.java:646)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
at android.view.Choreographer.doCallbacks(Choreographer.java:562)
at android.view.Choreographer.doFrame(Choreographer.java:531)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5232)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
at dalvik.system.NativeStart.main(Native Method)

``` bash java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1 at java.util.ArrayList.get(ArrayList.java:310) at es.ugr.swad.swadroid.modules.notifications.NotificationsExpandableListAdapter.getChildId(NotificationsExpandableListAdapter.java:84) at es.ugr.swad.swadroid.modules.notifications.Notifications$2.onSwipeRight(Notifications.java:636) at es.ugr.swad.swadroid.gui.SwipeListViewTouchListener$4.onAnimationEnd(SwipeListViewTouchListener.java:382) at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1020) at android.animation.ValueAnimator.access$400(ValueAnimator.java:50) at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:630) at android.animation.ValueAnimator$AnimationHandler.run(ValueAnimator.java:646) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749) at android.view.Choreographer.doCallbacks(Choreographer.java:562) at android.view.Choreographer.doFrame(Choreographer.java:531) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735) at android.os.Handler.handleCallback(Handler.java:730) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5232) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) at dalvik.system.NativeStart.main(Native Method) ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Marown/SWADroid#161
No description provided.