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

GitHub | appsthatmatter | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    resetData with empty data crashes

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

    Lock axis graphview

    Stack Overflow | 3 years ago | davix10
    java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
  3. 0

    Realtime Graph - appendData - ArrayIndexOutOfBoundsException

    GitHub | 3 years ago | xXxDriplexXx
    java.lang.ArrayIndexOutOfBoundsException: src.length=212 srcPos=1 dst.length=100 dstPos=0 length=211
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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=0; index=-1

      at com.jjoe64.graphview.GraphViewSeries.appendData()
    2. com.jjoe64.graphview
      GraphViewSeries.appendData
      1. com.jjoe64.graphview.GraphViewSeries.appendData(GraphViewSeries.java:111)
      1 frame
    3. com.example.tut1
      MainActivity$1.handleMessage
      1. com.example.tut1.MainActivity$1.handleMessage(MainActivity.java:86)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:136)
      3. android.app.ActivityThread.main(ActivityThread.java:5141)
      3 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit$MethodAndArgsCaller.run
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
      1 frame