java.lang.StringIndexOutOfBoundsException

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


Solutions on the web3781

Solution icon of github
length=22; regionStart=23; regionLength=-1

Solution icon of github
length=441; regionStart=22; regionLength=-23

Solution icon of github
via GitHub by chiragw15
, 4 months ago
length=22; regionStart=22; regionLength=-1

Solution icon of github
length=48; regionStart=-1; regionLength=23

Solution icon of web
via issuehub.io by Unknown author, 1 year ago
length=48; regionStart=-1; regionLength=23

Solution icon of github
length=22, regionStart=0, regionLength=-1

Solution icon of github
via GitHub by ccrama
, 1 year ago
length=22, regionStart=0, regionLength=-1

Solution icon of stackoverflow
length=22; regionStart=17; regionLength=-15

Solution icon of web
length=1; regionStart=1; regionLength=-2

Solution icon of github
length=1; regionStart=0; regionLength=-1

Stack trace

  • java.lang.StringIndexOutOfBoundsException: length=22; regionStart=23; regionLength=-1 at java.lang.StringFactory.newStringFromBytes(StringFactory.java:69) at java.lang.StringFactory.newStringFromBytes(StringFactory.java:59) at com.google.android.exoplayer2.metadata.id3.Id3Decoder.decodeCommentFrame(Id3Decoder.java:413) at com.google.android.exoplayer2.metadata.id3.Id3Decoder.decodeFrame(Id3Decoder.java:284) at com.google.android.exoplayer2.metadata.id3.Id3Decoder.decode(Id3Decoder.java:87) at com.google.android.exoplayer2.extractor.mp3.Mp3Extractor.peekId3Data(Mp3Extractor.java:287) at com.google.android.exoplayer2.extractor.mp3.Mp3Extractor.synchronize(Mp3Extractor.java:209) at com.google.android.exoplayer2.extractor.mp3.Mp3Extractor.sniff(Mp3Extractor.java:115) at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractorHolder.selectExtractor(ExtractorMediaPeriod.java:688) at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:623) at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.