Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArrayIndexOutOfBoundsException #22

Open
ligi opened this issue Feb 17, 2016 · 3 comments
Open

ArrayIndexOutOfBoundsException #22

ligi opened this issue Feb 17, 2016 · 3 comments

Comments

@ligi
Copy link
Contributor

ligi commented Feb 17, 2016

with wild clicking on the skittle example I could produce this crash on emulator sdk 23 with last commit on masterr 3d6cf49:

02-17 04:42:13.868  2884  2884 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at java.util.ArrayList.get(ArrayList.java:310)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at snow.skittles.SkittleAdapter$SkittleViewHolder.onClick(SkittleAdapter.java:160)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at android.view.View.performClick(View.java:5198)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at android.view.View$PerformClick.run(View.java:21147)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:739)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5417)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-17 04:42:13.868  2884  2884 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-17 04:42:13.869  1588  1968 W ActivityManager:   Force finishing activity snow.skittlessample/.MainActivity3

@ghost
Copy link

ghost commented Feb 17, 2016

This happened after wild clicking on the main skittle?

@jcaruso001
Copy link

jcaruso001 commented Jul 16, 2016

I am getting this error when I attempt to close the menu after a menu item is clicked in the onSkittleClick. Can we look into a resolution for this aashrairavooru?

@jcaruso001
Copy link

FYI this also only happen intermittently, if i do a fresh rebuild most of the time the error goes away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants