Skip to content

Fatal Exception: java.lang.IndexOutOfBoundsException Index: 1, Size: 1 #2805

@JJSarrasin

Description

@JJSarrasin

Version

Media3 1.8.0

More version details

No response

Devices that reproduce the issue

Vantiva TV Box

Devices that do not reproduce the issue

?

Reproducible in the demo app?

No

Reproduction steps

We're seeing this on our crashlytics report in production:
Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.get(ArrayList.java:437)
at com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.updateManifest(DefaultDashChunkSource.java:282)
at com.google.android.exoplayer2.source.dash.DashMediaPeriod.updateManifest(DashMediaPeriod.java:182)
at com.google.android.exoplayer2.source.dash.DashMediaSource.processManifest(DashMediaSource.java:853)
at com.google.android.exoplayer2.source.dash.DashMediaSource.lambda$new$0(DashMediaSource.java:484)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.os.HandlerThread.run(HandlerThread.java:67)

Expected result

Even if the stream isn't correct, the application should not crash.

Actual result

The application crashes sometimes with the stack above

Media

We experienced it only on a low latency stream, I don't know if it's related.

Bug Report

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions