java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

GitHub | bcGiR | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 47#63341801

    GitHub | 2 years ago | bcGiR
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
  2. 0

    GitHub comment 47#63184172

    GitHub | 2 years ago | bcGiR
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=1; index=1

      at com.gelakinetic.mtgfam.fragments.RulesFragment$RulesListAdapter.getPositionForSection()
    2. com.gelakinetic.mtgfam
      RulesFragment$RulesListAdapter.getPositionForSection
      1. com.gelakinetic.mtgfam.fragments.RulesFragment$RulesListAdapter.getPositionForSection(RulesFragment.java:831)
      1 frame
    3. Android Platform
      ViewGroup.layout
      1. android.widget.FastScroller.getPosFromItemCount(FastScroller.java:1174)
      2. android.widget.FastScroller.onItemCountChanged(FastScroller.java:453)
      3. android.widget.AbsListView.onLayout(AbsListView.java:2546)
      4. android.view.View.layout(View.java:15762)
      5. android.view.ViewGroup.layout(ViewGroup.java:4867)
      6. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
      7. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
      8. android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
      9. android.view.View.layout(View.java:15762)
      10. android.view.ViewGroup.layout(ViewGroup.java:4867)
      11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
      12. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
      13. android.view.View.layout(View.java:15762)
      14. android.view.ViewGroup.layout(ViewGroup.java:4867)
      14 frames
    4. com.gelakinetic.mtgfam
      IndeterminateRefreshLayout.onLayout
      1. com.gelakinetic.mtgfam.helpers.IndeterminateRefreshLayout.onLayout(IndeterminateRefreshLayout.java:130)
      1 frame
    5. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:15762)
      2. android.view.ViewGroup.layout(ViewGroup.java:4867)
      2 frames
    6. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:887)
      1 frame
    7. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:15762)
      2. android.view.ViewGroup.layout(ViewGroup.java:4867)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
      5. android.view.View.layout(View.java:15762)
      6. android.view.ViewGroup.layout(ViewGroup.java:4867)
      6 frames
    8. Android
      ActionBarOverlayLayout.onLayout
      1. com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:459)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.layout(View.java:15762)
      2. android.view.ViewGroup.layout(ViewGroup.java:4867)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
      5. android.view.View.layout(View.java:15762)
      6. android.view.ViewGroup.layout(ViewGroup.java:4867)
      7. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2356)
      8. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2069)
      9. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
      10. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6632)
      11. android.view.Choreographer$CallbackRecord.run(Choreographer.java:814)
      12. android.view.Choreographer.doCallbacks(Choreographer.java:614)
      13. android.view.Choreographer.doFrame(Choreographer.java:584)
      14. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:800)
      15. android.os.Handler.handleCallback(Handler.java:733)
      16. android.os.Handler.dispatchMessage(Handler.java:95)
      17. android.os.Looper.loop(Looper.java:146)
      18. android.app.ActivityThread.main(ActivityThread.java:5487)
      18 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
      2 frames
    12. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame