com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected StringIndexOutOfBoundsException: length=22; regionStart=23; regionLength=-1

GitHub | Merseyside | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unexpected exception loading stream. MP3 track

    GitHub | 2 months ago | Merseyside
    com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected StringIndexOutOfBoundsException: length=22; regionStart=23; regionLength=-1
  2. 0

    ID3Decoder IllegalArgumentException: 1 > 0

    GitHub | 2 months ago | PaulWoitaschek
    java.lang.IllegalArgumentException: 1 > 0
  3. 0

    new Dev v2 Cannot Play http mp4(h265)?

    GitHub | 3 months ago | qoo888
    java.lang.StringIndexOutOfBoundsException: length=921898; regionStart=134; regionLength=-1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.StringIndexOutOfBoundsException

      length=22; regionStart=23; regionLength=-1

      at java.lang.StringFactory.newStringFromBytes()
    2. Java RT
      StringFactory.newStringFromBytes
      1. java.lang.StringFactory.newStringFromBytes(StringFactory.java:69)
      2. java.lang.StringFactory.newStringFromBytes(StringFactory.java:59)
      2 frames
    3. com.google.android
      Loader$LoadTask.run
      1. com.google.android.exoplayer2.metadata.id3.Id3Decoder.decodeCommentFrame(Id3Decoder.java:413)
      2. com.google.android.exoplayer2.metadata.id3.Id3Decoder.decodeFrame(Id3Decoder.java:284)
      3. com.google.android.exoplayer2.metadata.id3.Id3Decoder.decode(Id3Decoder.java:87)
      4. com.google.android.exoplayer2.extractor.mp3.Mp3Extractor.peekId3Data(Mp3Extractor.java:287)
      5. com.google.android.exoplayer2.extractor.mp3.Mp3Extractor.synchronize(Mp3Extractor.java:209)
      6. com.google.android.exoplayer2.extractor.mp3.Mp3Extractor.sniff(Mp3Extractor.java:115)
      7. com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractorHolder.selectExtractor(ExtractorMediaPeriod.java:688)
      8. com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:623)
      9. com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295)
      9 frames