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

Stack Overflow | thehacker401 | 11 months 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

    Application crashing when running on Android 5.0.2

    Stack Overflow | 11 months ago | thehacker401
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
  2. 0

    ArrayIndexOutOfBoundsException in Fragment

    GitHub | 11 months ago | joydeepsaha05
    java.lang.ArrayIndexOutOfBoundsException: length=2; index=2

    3 unregistered visitors

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=1; index=1

      at android.util.PathParser$PathDataNode.addCommand()
    2. Android Platform
      ViewGroup.drawChild
      1. android.util.PathParser$PathDataNode.addCommand(PathParser.java:370)
      2. android.util.PathParser$PathDataNode.nodesToPath(PathParser.java:260)
      3. android.graphics.drawable.VectorDrawable$VPath.toPath(VectorDrawable.java:1265)
      4. android.graphics.drawable.VectorDrawable$VPathRenderer.drawPath(VectorDrawable.java:950)
      5. android.graphics.drawable.VectorDrawable$VPathRenderer.drawGroupTree(VectorDrawable.java:931)
      6. android.graphics.drawable.VectorDrawable$VPathRenderer.draw(VectorDrawable.java:938)
      7. android.graphics.drawable.VectorDrawable$VectorDrawableState.updateCachedBitmap(VectorDrawable.java:705)
      8. android.graphics.drawable.VectorDrawable.draw(VectorDrawable.java:280)
      9. android.widget.ImageView.onDraw(ImageView.java:1172)
      10. android.view.View.draw(View.java:16259)
      11. android.view.View.updateDisplayListIfDirty(View.java:15182)
      12. android.view.View.getDisplayList(View.java:15205)
      13. android.view.View.draw(View.java:15980)
      14. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      16. android.view.View.updateDisplayListIfDirty(View.java:15177)
      17. android.view.View.getDisplayList(View.java:15205)
      18. android.view.View.draw(View.java:15980)
      19. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      20. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      21. android.view.View.updateDisplayListIfDirty(View.java:15177)
      22. android.view.View.getDisplayList(View.java:15205)
      23. android.view.View.draw(View.java:15980)
      24. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      25. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      26. android.view.View.draw(View.java:16262)
      27. android.widget.FrameLayout.draw(FrameLayout.java:592)
      28. android.view.View.updateDisplayListIfDirty(View.java:15182)
      29. android.view.View.getDisplayList(View.java:15205)
      30. android.view.View.draw(View.java:15980)
      31. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      31 frames
    3. Android v7
      RecyclerView.drawChild
      1. android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:3838)
      1 frame
    4. Android Platform
      View.draw
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      2. android.view.View.draw(View.java:16262)
      2 frames
    5. Android v7
      RecyclerView.draw
      1. android.support.v7.widget.RecyclerView.draw(RecyclerView.java:3308)
      1 frame
    6. Android Platform
      ViewGroup.drawChild
      1. android.view.View.updateDisplayListIfDirty(View.java:15182)
      2. android.view.View.getDisplayList(View.java:15205)
      3. android.view.View.draw(View.java:15980)
      4. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      6. android.view.View.updateDisplayListIfDirty(View.java:15177)
      7. android.view.View.getDisplayList(View.java:15205)
      8. android.view.View.draw(View.java:15980)
      9. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      11. android.view.View.draw(View.java:16262)
      12. android.view.View.updateDisplayListIfDirty(View.java:15182)
      13. android.view.View.getDisplayList(View.java:15205)
      14. android.view.View.draw(View.java:15980)
      15. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      15 frames
    7. android.support.design
      CoordinatorLayout.drawChild
      1. android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1131)
      1 frame
    8. Android Platform
      View.draw
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      2. android.view.View.updateDisplayListIfDirty(View.java:15177)
      3. android.view.View.getDisplayList(View.java:15205)
      4. android.view.View.draw(View.java:15980)
      5. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      7. android.view.View.updateDisplayListIfDirty(View.java:15177)
      8. android.view.View.getDisplayList(View.java:15205)
      9. android.view.View.draw(View.java:15980)
      10. android.view.ViewGroup.drawChild(ViewGroup.java:3708)
      11. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3502)
      12. android.view.View.updateDisplayListIfDirty(View.java:15177)
      13. android.view.View.getDisplayList(View.java:15205)
      14. android.view.View.draw(View.java:15980)
      14 frames