Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOutOfBoundsException by getting Period from DashTim #5333

Closed
userdimi opened this issue Jan 2, 2019 · 1 comment
Closed

IndexOutOfBoundsException by getting Period from DashTim #5333

userdimi opened this issue Jan 2, 2019 · 1 comment
Assignees

Comments

@userdimi
Copy link

userdimi commented Jan 2, 2019

In my Bugsnag report I have a lot of events with this stacktrace:

Assertions.java:68com.google.android.exoplayer2.util.Assertions.checkIndex	
DashMediaSource.java:1153com.google.android.exoplayer2.source.dash.DashMediaSource$DashTimeline.getPeriod	
Timeline.java:757com.google.android.exoplayer2.Timeline.getPeriodByUid	
ExoPlayerImpl.java:492com.google.android.exoplayer2.ExoPlayerImpl.getCurrentWindowIndex	
AnalyticsCollector.java:632com.google.android.exoplayer2.analytics.AnalyticsCollector.generateEventTime	
AnalyticsCollector.java:650com.google.android.exoplayer2.analytics.AnalyticsCollector.generatePlayingMediaPeriodEventTime	
AnalyticsCollector.java:442com.google.android.exoplayer2.analytics.AnalyticsCollector.onTimelineChanged	
ExoPlayerImpl.java:839com.google.android.exoplayer2.ExoPlayerImpl$PlaybackInfoUpdate.notifyListeners	
ExoPlayerImpl.java:776com.google.android.exoplayer2.ExoPlayerImpl.updatePlaybackInfo	
ExoPlayerImpl.java:713com.google.android.exoplayer2.ExoPlayerImpl.handlePlaybackInfo	
ExoPlayerImpl.java:658com.google.android.exoplayer2.ExoPlayerImpl.handleEvent	
ExoPlayerImpl.java:129com.google.android.exoplayer2.ExoPlayerImpl$1.handleMessage	
Handler.java:102android.os.Handler.dispatchMessage	
Looper.java:135android.os.Looper.loop	
ActivityThread.java:5597android.app.ActivityThread.main	
Method.java:-2java.lang.reflect.Method.invoke	
Method.java:372java.lang.reflect.Method.invoke	
ZygoteInit.java:984com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run	
ZygoteInit.java:779com.android.internal.os.ZygoteInit.main 

In my application I use the exoplayer version 2.9.0 and this application is build for TV's. This issue occurs on different Amazon FireTV Sticks and on different SmartTV's models. I tried to reproduce the issue but until now it was not successful

@tonihei tonihei self-assigned this Jan 2, 2019
@tonihei
Copy link
Collaborator

tonihei commented Jan 2, 2019

Sounds like a duplicate of #5240. But it's still unclear what could cause this to happen. One potential reason is using ExoPlayer from multiple threads, but there may be another reason given that we got multiple reports of the same problem.

I'll use the other issue to track this. If you happen to find a way to reproduce the issue or can provide further information about the circumstances of the event, please let us know.

@tonihei tonihei closed this as completed Jan 2, 2019
@google google locked and limited conversation to collaborators May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants