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

GitHub | luckcoolla | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1865#253442760

    GitHub | 4 months ago | luckcoolla
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  2. 0

    [DASH] Crash when receiving empty SegmentTimeline

    GitHub | 7 months ago | azabujuban
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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
    Loader$LoadTask.handleMessage
    1. com.google.android.exoplayer2.source.dash.manifest.SegmentBase$MultiSegmentBase.getSegmentTimeUs(SegmentBase.java:190)
    2. com.google.android.exoplayer2.source.dash.manifest.Representation$MultiSegmentRepresentation.getTimeUs(Representation.java:257)
    3. com.google.android.exoplayer2.source.dash.DashMediaSource$PeriodSeekInfo.createPeriodSeekInfo(DashMediaSource.java:491)
    4. com.google.android.exoplayer2.source.dash.DashMediaSource.processManifest(DashMediaSource.java:357)
    5. com.google.android.exoplayer2.source.dash.DashMediaSource.processManifestAndScheduleRefresh(DashMediaSource.java:339)
    6. com.google.android.exoplayer2.source.dash.DashMediaSource.onManifestLoadCompleted(DashMediaSource.java:249)
    7. com.google.android.exoplayer2.source.dash.DashMediaSource$ManifestCallback.onLoadCompleted(DashMediaSource.java:587)
    8. com.google.android.exoplayer2.source.dash.DashMediaSource$ManifestCallback.onLoadCompleted(DashMediaSource.java:581)
    9. com.google.android.exoplayer2.upstream.Loader$LoadTask.handleMessage(Loader.java:355)
    9 frames
  4. Android Platform
    HandlerThread.run
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:146)
    3. android.os.HandlerThread.run(HandlerThread.java:61)
    3 frames
  5. com.google.android
    PriorityHandlerThread.run
    1. com.google.android.exoplayer2.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
    1 frame