com.google.android.exoplayer.ExoPlaybackException: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

GitHub | rajeshgoswami2025 | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 1464#239622944

    GitHub | 7 months ago | rajeshgoswami2025
    com.google.android.exoplayer.ExoPlaybackException: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  2. 0

    HLS from Wowza wont play - Index out of bounds

    GitHub | 11 months ago | Marcin666
    com.google.android.exoplayer.ExoPlaybackException: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  3. 0
    samebug tip
    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    High: Stickerbook crash

    GitHub | 2 years ago | itscam
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
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.IndexOutOfBoundsException

    Invalid index 0, size is 0

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    2. java.util.ArrayList.get(ArrayList.java:308)
    2 frames
  3. com.google.android
    HlsSampleSource.prepare
    1. com.google.android.exoplayer.hls.HlsChunkSource.selectTrack(HlsChunkSource.java:392)
    2. com.google.android.exoplayer.hls.HlsChunkSource.prepare(HlsChunkSource.java:299)
    3. com.google.android.exoplayer.hls.HlsSampleSource.prepare(HlsSampleSource.java:149)
    3 frames
  4. Custom implementation of exoplayer with slow motion
    ExoPlayerImplInternal.handleMessage
    1. com.google.android.exoplayer.SampleSourceTrackRenderer.doPrepare(SampleSourceTrackRenderer.java:54)
    2. com.google.android.exoplayer.TrackRenderer.prepare(TrackRenderer.java:110)
    3. com.google.android.exoplayer.ExoPlayerImplInternal.incrementalPrepareInternal(ExoPlayerImplInternal.java:273)
    4. com.google.android.exoplayer.ExoPlayerImplInternal.prepareInternal(ExoPlayerImplInternal.java:264)
    5. com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:201)
    5 frames