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

GitHub | rini-m | 5 months ago
  1. 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=12; index=-2

      at java.util.ArrayList.get()
    2. Java RT
      Collections$UnmodifiableList.get
      1. java.util.ArrayList.get(ArrayList.java:310)
      2. java.util.Collections$UnmodifiableList.get(Collections.java:1054)
      2 frames
    3. com.google.android
      HlsSampleSource.onLoadCompleted
      1. com.google.android.exoplayer.hls.HlsChunkSource.getChunkOperation(HlsChunkSource.java:441)
      2. com.google.android.exoplayer.hls.HlsSampleSource.maybeStartLoading(HlsSampleSource.java:712)
      3. com.google.android.exoplayer.hls.HlsSampleSource.onLoadCompleted(HlsSampleSource.java:438)
      3 frames
    4. Custom implementation of exoplayer with slow motion
      Loader$LoadTask.handleMessage
      1. com.google.android.exoplayer.upstream.Loader$LoadTask.handleMessage(Loader.java:245)
      1 frame
    5. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:158)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames
    6. Custom implementation of exoplayer with slow motion
      PriorityHandlerThread.run
      1. com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
      1 frame