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

GitHub | Blaisorblade | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 236#242949950

    GitHub | 8 months ago | Blaisorblade
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=1; index=1

      at com.kamron.pogoiv.OCRHelper.getCandyNameFromImg()
    2. com.kamron.pogoiv
      MainActivity$6.onReceive
      1. com.kamron.pogoiv.OCRHelper.getCandyNameFromImg(Unknown Source)
      2. com.kamron.pogoiv.OCRHelper.scanPokemon(Unknown Source)
      3. com.kamron.pogoiv.MainActivity.scanPokemon(Unknown Source)
      4. com.kamron.pogoiv.MainActivity.takeScreenshot(Unknown Source)
      5. com.kamron.pogoiv.MainActivity.access$2500(Unknown Source)
      6. com.kamron.pogoiv.MainActivity$6.onReceive(Unknown Source)
      6 frames
    3. Android Support v4
      LocalBroadcastManager$1.handleMessage
      1. android.support.v4.content.LocalBroadcastManager.getInstance(Unknown Source)
      2. android.support.v4.content.LocalBroadcastManager.getInstance(Unknown Source)
      3. android.support.v4.content.LocalBroadcastManager$1.handleMessage(Unknown Source)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:135)
      3. android.app.ActivityThread.main(ActivityThread.java:5312)
      3 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
      2 frames