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

GitHub | AlaaAlShammaa | 3 months ago
  1. 0

    Wrong dataSetIndex in a custom value formatter

    GitHub | 3 months ago | AlaaAlShammaa
    java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
  2. 0

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

    GitHub | 2 years ago | davidgraeff
    java.lang.RuntimeException: Unable to pause activity {oly.netpowerctrl/oly.netpowerctrl.main.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
  3. 0

    Crash when removing WelcomeCard

    GitHub | 2 years ago | theblixguy
    java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ArrayIndexOutOfBoundsException in SwipeDismissListener

    GitHub | 2 years ago | eeandrew
    java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
  6. 0

    swiping empty recycler causes crash

    GitHub | 2 years ago | ericcumbee
    java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    length=12; index=-1

    at java.util.ArrayList.get()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.get(ArrayList.java:310)
    1 frame
  3. com.example.alaashammaa
    MainActivity$1.getFormattedValue
    1. com.example.alaashammaa.charts.MainActivity$1.getFormattedValue(MainActivity.java:65)
    1 frame
  4. com.github.mikephil
    BarLineChartBase.onSizeChanged
    1. com.github.mikephil.charting.components.AxisBase.getFormattedLabel(AxisBase.java:451)
    2. com.github.mikephil.charting.components.AxisBase.getLongestLabel(AxisBase.java:437)
    3. com.github.mikephil.charting.renderer.XAxisRenderer.computeSize(XAxisRenderer.java:78)
    4. com.github.mikephil.charting.renderer.XAxisRenderer.computeAxisValues(XAxisRenderer.java:73)
    5. com.github.mikephil.charting.renderer.XAxisRenderer.computeAxis(XAxisRenderer.java:66)
    6. com.github.mikephil.charting.charts.BarLineChartBase.notifyDataSetChanged(BarLineChartBase.java:339)
    7. com.github.mikephil.charting.charts.Chart.onSizeChanged(Chart.java:1727)
    8. com.github.mikephil.charting.charts.BarLineChartBase.onSizeChanged(BarLineChartBase.java:1563)
    8 frames
  5. Android Platform
    ViewGroup.layout
    1. android.view.View.sizeChange(View.java:18114)
    2. android.view.View.setFrame(View.java:18076)
    3. android.view.View.layout(View.java:17991)
    4. android.view.ViewGroup.layout(ViewGroup.java:5817)
    5. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1080)
    6. android.view.View.layout(View.java:17995)
    7. android.view.ViewGroup.layout(ViewGroup.java:5817)
    8. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
    9. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
    10. android.view.View.layout(View.java:17995)
    11. android.view.ViewGroup.layout(ViewGroup.java:5817)
    11 frames
  6. Android v7
    ActionBarOverlayLayout.onLayout
    1. android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:433)
    1 frame
  7. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:17995)
    2. android.view.ViewGroup.layout(ViewGroup.java:5817)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
    5. android.view.View.layout(View.java:17995)
    6. android.view.ViewGroup.layout(ViewGroup.java:5817)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
    10. android.view.View.layout(View.java:17995)
    11. android.view.ViewGroup.layout(ViewGroup.java:5817)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
    13 frames
  8. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:3146)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:17995)
    2. android.view.ViewGroup.layout(ViewGroup.java:5817)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2759)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2460)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1528)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7564)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:686)
    9. android.view.Choreographer.doFrame(Choreographer.java:622)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
    11. android.os.Handler.handleCallback(Handler.java:739)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:148)
    14. android.app.ActivityThread.main(ActivityThread.java:7331)
    14 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames