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.

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

Solutions on the web35

  • java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  • java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  • java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  • 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.dash.mpd.SegmentBase$MultiSegmentBase.getSegmentTimeUs(SegmentBase.java:193) at com.google.android.exoplayer.dash.mpd.Representation$MultiSegmentRepresentation.getTimeUs(Representation.java:267) at com.google.android.exoplayer.dash.DashChunkSource$RepresentationHolder.updateRepresentation(DashChunkSource.java:915) at com.google.android.exoplayer.dash.DashChunkSource$PeriodHolder.updatePeriod(DashChunkSource.java:1023) at com.google.android.exoplayer.dash.DashChunkSource.processManifest(DashChunkSource.java:767) at com.google.android.exoplayer.dash.DashChunkSource.continueBuffering(DashChunkSource.java:335) at com.google.android.exoplayer.chunk.ChunkSampleSource.continueBuffering(ChunkSampleSource.java:221) at com.google.android.exoplayer.SampleSourceTrackRenderer.doSomeWork(SampleSourceTrackRenderer.java:127) at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:434) at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:213)

    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

    3 times, 1 month ago
    81 times, 1 month ago
    Once, 4 months ago
    4 times, 5 months ago
    Once, 7 months ago
    242 more bugmates