8000 NullPointerException when playing HLS source in r1.5.9 · Issue #1697 · google/ExoPlayer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NullPointerException when playing HLS source in r1.5.9 #1697

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

Closed
VesnaRistevska opened this issue Jul 25, 2016 · 6 comments
Closed

NullPointerException when playing HLS source in r1.5.9 #1697

VesnaRistevska opened this issue Jul 25, 2016 · 6 comments

Comments

@VesnaRistevska
Copy link
VesnaRistevska commented Jul 25, 2016

I keep getting the following NullPointer exception with HLS stream. I'm using version r1.5.9

/ExoPlayerImplInternal: Internal runtime error. java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.android.exoplayer.ExoPlayer$ExoPlayerComponent.handleMessage(int, java.lang.Object)' on a null object reference at com.google.android.exoplayer.ExoPlayerImplInternal.sendMessageInternal(ExoPlayerImplInternal.java:591at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:229) at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)

@ojw28
Copy link
Contributor
ojw28 commented Jul 25, 2016

This seems likely to be an error in your integration code. Specifically, you're likely passing null as target to ExoPlayer.sendMessage or ExoPlayer.blockingSendMessage. You'll need to debug your code to find out why this is happening, and fix it. I assume the issue does not reproduce in the ExoPlayer demo app.

@VesnaRistevska
Copy link
Author

I tried with my URL in your demo app but it doesn't working

@ojw28
Copy link
Contributor
ojw28 commented Jul 25, 2016

Please copy the error that you see when using the demo app. I'm pretty sure you wont see the one pasted above. If possible, please provide a full bug report as requested in the issue template.

@VesnaRistevska
Copy link
Author

When I put my URL (that I sent you before) in Samples.java HLS I get this
bug in logcat and the video is not showing.

On Mon, Jul 25, 2016 at 5:49 PM, ojw28 notifications@github.com wrote:

Please copy the error that you see when using the demo app. I'm pretty
sure you wont see the one pasted above. If possible, please provide a full
bug report as requested in the issue template.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1697 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKw_9xAqScYZtP72aaT33CdmBsgWQPBTks5qZNsTgaJpZM4JUJPC
.

Vesna Ristevska
Faculty of Technical Science Bitola
e-mail:vristevska851@gmail.com
Mobile phone: 075 618 127

@VesnaRistevska
Copy link
Author

Hi,
we think that we found the problem. The link which we are using is the link
to the loadbalancer and it is with SSL enabled (HTTPS ). The loadbalancer
is redirecting the player to the original streams. The original streams are
WITHOUT HTTPS, so the initial link for the player is with https, but after
the redirection, the player is receiving playlists with http only and the
player cannot play the streams. Is there any way to handle this?

On Tue, Jul 26, 2016 at 10:19 AM, Vesna Ristevska vristevska851@gmail.com
wrote:

When I put my URL (that I sent you before) in Samples.java HLS I get this
bug in logcat and the video is not showing.

On Mon, Jul 25, 2016 at 5:49 PM, ojw28 notifications@github.com wrote:

Please copy the error that you see when using the demo app. I'm pretty
sure you wont see the one pasted above. If possible, please provide a full
bug report as requested in the issue template.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1697 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKw_9xAqScYZtP72aaT33CdmBsgWQPBTks5qZNsTgaJpZM4JUJPC
.

Vesna Ristevska
Faculty of Technical Science Bitola
e-mail:vristevska851@gmail.com
Mobile phone: 075 618 127

Vesna Ristevska
Faculty of Technical Science Bitola
e-mail:vristevska851@gmail.com
Mobile phone: 075 618 127

@andrewlewis
Copy link
Collaborator

See #1190. Redirection from HTTPS to HTTP will only work if you enable cross-protocol redirects. See also DefaultUriDataSource.

@google google locked and limited conversation to collaborators Jun 28, 2017
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

3 participants
0