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

GitHub | joydeepsaha05 | 9 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

    ArrayIndexOutOfBoundsException in Fragment

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

    Application crashing when running on Android 5.0.2

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

    GitHub comment 4611#193434901

    GitHub | 1 year ago | Lineflyer
    java.lang.ArrayIndexOutOfBoundsException: length=697; index=697 21:26:00.103 Error cgeo 5692 at com.google.android.maps.ItemizedOverlay.getIndexToDraw(ItemizedOverlay.java:211) 21:26:00.104 Error cgeo 5692 at com.google.android.maps.ItemizedOverlay.draw(ItemizedOverlay.java:240) 21:26:00.104 Error cgeo 5692 at cgeo.geocaching.maps.google.v1.GoogleCacheOverlay.superDraw(GoogleCacheOverlay.java:101) 21:26:00.104 Error cgeo 5692 at cgeo.geocaching.maps.AbstractItemizedOverlay.draw(AbstractItemizedOverlay.java:44) 21:26:00.104 Error cgeo 5692 at cgeo.geocaching.maps.CachesOverlay.draw(CachesOverlay.java:104) 21:26:00.104 Error cgeo 5692 at cgeo.geocaching.maps.google.v1.GoogleCacheOverlay.draw(GoogleCacheOverlay.java:70) 21:26:00.104 Error cgeo 5692 at com.google.android.maps.Overlay.draw(Overlay.java:179) 21:26:00.104 Error cgeo 5692 at com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:42) 21:26:00.105 Error cgeo 5692 at com.google.android.maps.MapView.onDraw(MapView.java:532) 21:26:00.105 Error cgeo 5692 at android.view.View.draw(View.java:16219) 21:26:00.105 Error cgeo 5692 at cgeo.geocaching.maps.google.v1.GoogleMapView.draw(GoogleMapView.java:69) 21:26:00.105 Error cgeo 5692 at android.view.View.updateDisplayListIfDirty(View.java:15139) 21:26:00.105 Error cgeo 5692 at android.view.View.getDisplayList(View.java:15162) 21:26:00.105 Error cgeo 5692 at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3687) 21:26:00.105 Error cgeo 5692 at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3666) 21:26:00.105 Error cgeo 5692 at android.view.View.updateDisplayListIfDirty(View.java:15099)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    3 unregistered visitors

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=2; index=2

      at android.util.PathParser$PathDataNode.addCommand()
    2. Android Platform
      ViewGroup.drawChild
      1. android.util.PathParser$PathDataNode.addCommand(PathParser.java:380)
      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:1148)
      10. android.view.View.draw(View.java:15114)
      11. android.view.View.updateDisplayListIfDirty(View.java:14048)
      12. android.view.View.getDisplayList(View.java:14071)
      13. android.view.View.draw(View.java:14838)
      14. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
      15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
      16. android.view.View.updateDisplayListIfDirty(View.java:14043)
      17. android.view.View.getDisplayList(View.java:14071)
      18. android.view.View.draw(View.java:14838)
      19. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
      20. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
      21. android.view.View.draw(View.java:15117)
      22. android.widget.FrameLayout.draw(FrameLayout.java:592)
      23. android.view.View.updateDisplayListIfDirty(View.java:14048)
      24. android.view.View.getDisplayList(View.java:14071)
      25. android.view.View.draw(View.java:14838)
      26. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
      26 frames
    3. Android v7
      RecyclerView.drawChild
      1. android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:4134)
      1 frame
    4. Android Platform
      View.draw
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
      2. android.view.View.draw(View.java:15117)
      2 frames
    5. Android v7
      RecyclerView.draw
      1. android.support.v7.widget.RecyclerView.draw(RecyclerView.java:3543)
      1 frame
    6. Android Platform
      View.getDisplayList
      1. android.view.View.updateDisplayListIfDirty(View.java:14048)
      2. android.view.View.getDisplayList(View.java:14071)
      3. android.view.View.draw(View.java:14838)
      4. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
      5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
      6. android.view.View.updateDisplayListIfDirty(View.java:14043)
      7. android.view.View.getDisplayList(View.java:14071)
      8. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
      9. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
      10. android.view.View.updateDisplayListIfDirty(View.java:14008)
      11. android.view.View.getDisplayList(View.java:14071)
      12. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
      13. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
      14. android.view.View.updateDisplayListIfDirty(View.java:14008)
      15. android.view.View.getDisplayList(View.java:14071)
      16. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
      17. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
      18. android.view.View.updateDisplayListIfDirty(View.java:14008)
      19. android.view.View.getDisplayList(View.java:14071)
      20. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
      21. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
      22. android.view.View.updateDisplayListIfDirty(View.java:14008)
      23. android.view.View.getDisplayList(View.java:14071)
      24. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
      25. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
      26. android.view.View.updateDisplayListIfDirty(View.java:14008)
      27. android.view.View.getDisplayList(View.java:14071)
      28. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3388)
      29. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3367)
      30. android.view.View.updateDisplayListIfDirty(View.java:14008)
      31. android.view.View.getDisplayList(View.java:14071)
      31 frames