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

Array out of bounds in spinner #10

Open
tsiemens opened this issue Feb 4, 2014 · 0 comments
Open

Array out of bounds in spinner #10

tsiemens opened this issue Feb 4, 2014 · 0 comments
Labels
Milestone

Comments

@tsiemens
Copy link
Owner

tsiemens commented Feb 4, 2014

Affects version: 2.0
Device: Moto G
Android Version: 4.3

No user comment with this one
At a glance, it looks like a spinner in a table row is crashing. I don't think we have any spinners that could have 41 items, so maybe this is a race condition somewhere.

Also could be triggered by the nav drawer.

java.lang.IndexOutOfBoundsException: Invalid index 44, size is 41
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.Arrays$ArrayList.get(Arrays.java:66)
at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:337)
at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:390)
at android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)
at android.widget.Spinner.makeAndAddView(Spinner.java:551)
at android.widget.Spinner.layout(Spinner.java:499)
at android.widget.Spinner.onLayout(Spinner.java:461)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1660)
at android.widget.TableRow.onLayout(TableRow.java:123)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.TableLayout.onLayout(TableLayout.java:448)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:653)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:349)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
at android.view.View.layout(View.java:14329)
at android.view.ViewGroup.layout(ViewGroup.java:4572)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2008)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1762)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1029)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5592)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
at android.view.Choreographer.doCallbacks(Choreographer.java:562)
at android.view.Choreographer.doFrame(Choreographer.java:532)
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:5222)
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:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
@tsiemens tsiemens modified the milestones: 2.2, 2.1 May 1, 2014
@tsiemens tsiemens modified the milestones: 2.3, 2.2 Aug 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant