com.google.android.exoplayer.ExoPlaybackException

java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4266

  • via GitHub by itscam
    ,
  • Stack trace

    • com.google.android.exoplayer.ExoPlaybackException: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:246) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:148) at android.os.HandlerThread.run(HandlerThread.java:61) at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40) Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at com.google.android.exoplayer.hls.HlsChunkSource.selectTrack(HlsChunkSource.java:392) at com.google.android.exoplayer.hls.HlsChunkSource.prepare(HlsChunkSource.java:299) at com.google.android.exoplayer.hls.HlsSampleSource.prepare(HlsSampleSource.java:149) at com.google.android.exoplayer.SampleSourceTrackRenderer.doPrepare(SampleSourceTrackRenderer.java:54) at com.google.android.exoplayer.TrackRenderer.prepare(TrackRenderer.java:110) at com.google.android.exoplayer.ExoPlayerImplInternal.incrementalPrepareInternal(ExoPlayerImplInternal.java:273) at com.google.android.exoplayer.ExoPlayerImplInternal.prepareInternal(ExoPlayerImplInternal.java:264) at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:201)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    winer222winer222
    3 times, last one
    Indri YunitaIndri Yunita
    81 times, last one
    justCodeitjustCodeit
    Once,
    filpgamefilpgame
    4 times, last one
    deallocdealloc
    Once,
    241 more bugmates