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

Download media playlist would crash #4400

Closed
RicardoJiang opened this issue Jun 21, 2018 · 1 comment
Closed

Download media playlist would crash #4400

RicardoJiang opened this issue Jun 21, 2018 · 1 comment
Assignees

Comments

@RicardoJiang
Copy link

Issue description

when download hls media playlist videos in demo it will crash
FATAL EXCEPTION: main
Process: com.google.android.exoplayer2.demo, PID: 11416
java.lang.NullPointerException
at com.google.android.exoplayer2.util.Assertions.checkNotNull(Assertions.java:110)
at com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper.getDownloadAction(HlsDownloadHelper.java:100)
at com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper.getDownloadAction(HlsDownloadHelper.java:41)
at com.google.android.exoplayer2.demo.DownloadTracker$StartDownloadDialogHelper.onClick(DownloadTracker.java:298)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:163)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5546)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)

Reproduction steps

just download media playlist video in demo
for example
"name": "Apple TS media playlist",
"uri": "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_4x3/gear1/prog_index.m3u8"

Version of ExoPlayer being used

latest

@tonihei
Copy link
Collaborator

tonihei commented Jun 21, 2018

Duplicate of #4396. And already fixed.

@tonihei tonihei closed this as completed Jun 21, 2018
@tonihei tonihei self-assigned this Jun 21, 2018
@google google locked and limited conversation to collaborators Nov 23, 2018
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