com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected ArrayIndexOutOfBoundsException: src.length=8192 srcPos=-16 dst.length=8192 dstPos=0 length=16


Solutions on the web10

Solution icon of github
Unexpected ArrayIndexOutOfBoundsException: src.length=8192 srcPos=-16 dst.length=8192 dstPos=0 length=16

Solution icon of github
Unexpected IllegalArgumentException: Unexpected char 0x6f4 at 16 in User-Agent value: ExoMedia 4.0.0 (۴۰۰۰۰) / Android 5.0.1 / SM-N910C

Solution icon of github
Unexpected IllegalArgumentException: 1 > 0

Solution icon of github
Unexpected StringIndexOutOfBoundsException: length=921898; regionStart=134; regionLength=-1

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

Solution icon of github
via GitHub by arso8
, 1 month ago
Unexpected IllegalArgumentException: null

Solution icon of github
via GitHub by timonchev
, 1 year ago
Unexpected IllegalArgumentException: null

Solution icon of github
Unexpected NumberFormatException: Invalid int: "v1"

Solution icon of github
Unexpected IllegalArgumentException: Unsupported media rate.

Solution icon of stackoverflow
Unexpected IllegalStateException: null

Stack trace

com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected ArrayIndexOutOfBoundsException: src.length=8192 srcPos=-16 dst.length=8192 dstPos=0 length=16
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:317)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.ArrayIndexOutOfBoundsException: src.length=8192 srcPos=-16 dst.length=8192 dstPos=0 length=16
	at java.lang.System.arraycopy(Native Method)
	at com.google.android.exoplayer2.extractor.DefaultExtractorInput.updatePeekBuffer(DefaultExtractorInput.java:221)
	at com.google.android.exoplayer2.extractor.DefaultExtractorInput.skipFromPeekBuffer(DefaultExtractorInput.java:191)
	at com.google.android.exoplayer2.extractor.DefaultExtractorInput.skipFully(DefaultExtractorInput.java:93)
	at com.google.android.exoplayer2.extractor.DefaultExtractorInput.skipFully(DefaultExtractorInput.java:104)
	at com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor.readAtomPayload(FragmentedMp4Extractor.java:319)
	at com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor.read(FragmentedMp4Extractor.java:222)
	at com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper.read(ChunkExtractorWrapper.java:111)
	at com.google.android.exoplayer2.source.chunk.InitializationChunk.load(InitializationChunk.java:147)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295)
	... 5 more

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

5 times, 5 days ago
Once, 2 months ago
Once, 2 months ago
Once, 4 months ago
2 times, 5 months ago
23 more bugmates