java.lang.ArrayIndexOutOfBoundsException: length=19; index=21

GitHub | edwardaa | 5 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

    ArrayIndexOutOfBoundsException on MPEG-TS

    GitHub | 5 months ago | edwardaa
    java.lang.ArrayIndexOutOfBoundsException: length=19; index=21
  2. 0

    GitHub comment 2024#257606729

    GitHub | 4 months ago | laurencedawson
    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      length=19; index=21

      at com.google.android.exoplayer2.audio.Ac3Util.getAc3SyncframeSize()
    2. com.google.android
      Loader$LoadTask.run
      1. com.google.android.exoplayer2.audio.Ac3Util.getAc3SyncframeSize(Ac3Util.java:234)
      2. com.google.android.exoplayer2.audio.Ac3Util.parseAc3SyncframeSize(Ac3Util.java:183)
      3. com.google.android.exoplayer2.extractor.ts.Ac3Extractor.sniff(Ac3Extractor.java:109)
      4. com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractorHolder.selectExtractor(ExtractorMediaPeriod.java:657)
      5. com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:592)
      6. com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295)
      6 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      5. java.lang.Thread.run(Thread.java:818)
      5 frames