java.lang.ArrayIndexOutOfBoundsException

length=10; index=10

Solutions on the web2387

  • via Stack Overflow by Pol Hallen
    , 1 year ago
    length=10; index=10
  • length=10; index=10
  • length=10; index=10
  • Stack trace

    • java.lang.ArrayIndexOutOfBoundsException: length=10; index=10 at com.curtztech.android.clashmate.SpinnerAdapter.getView(SpinnerAdapter.java:74) at android.widget.Spinner.makeView(Spinner.java:592) at android.widget.Spinner.layout(Spinner.java:540) at android.widget.Spinner.onLayout(Spinner.java:502) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.widget.GridLayout.onLayout(GridLayout.java:1183) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525) at android.widget.LinearLayout.onLayout(LinearLayout.java:1434) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) at android.widget.FrameLayout.onLayout(FrameLayout.java:388) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:435) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) at android.widget.FrameLayout.onLayout(FrameLayout.java:388) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525) at android.widget.LinearLayout.onLayout(LinearLayout.java:1434) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) at android.widget.FrameLayout.onLayout(FrameLayout.java:388) at android.view.View.layout(View.java:14834) at android.view.ViewGroup.layout(ViewGroup.java:4635) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1983) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1740) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5600) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761) at android.view.Choreographer.doCallbacks(Choreographer.java:574) at android.view.Choreographer.doFrame(Choreographer.java:544) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5095) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.