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

Error: java.lang.NullPointerException #3

Open
echoaiya opened this issue May 12, 2015 · 2 comments
Open

Error: java.lang.NullPointerException #3

echoaiya opened this issue May 12, 2015 · 2 comments

Comments

@echoaiya
Copy link

When I played "http://www.digitalprimates.net/dash/streams/gpac/mp4-main-multi-mpd-AV-NBS.mpd" with MultimediaForAndroidLibrary, I got this:


05-12 13:54:57.932: E/AndroidRuntime(18739): FATAL EXCEPTION: DASH
05-12 13:54:57.932: E/AndroidRuntime(18739): Process: com.sonymobile.android.media.testmediaplayer, PID: 18739
05-12 13:54:57.932: E/AndroidRuntime(18739): java.lang.NullPointerException
05-12 13:54:57.932: E/AndroidRuntime(18739): at com.sonymobile.android.media.internal.mpegdash.MPDParser.endRepresentation(MPDParser.java:510)
05-12 13:54:57.932: E/AndroidRuntime(18739): at com.sonymobile.android.media.internal.mpegdash.MPDParser.parse(MPDParser.java:172)
05-12 13:54:57.932: E/AndroidRuntime(18739): at com.sonymobile.android.media.internal.mpegdash.DASHSession.onConnect(DASHSession.java:391)
05-12 13:54:57.932: E/AndroidRuntime(18739): at com.sonymobile.android.media.internal.mpegdash.DASHSession.access$0(DASHSession.java:368)
05-12 13:54:57.932: E/AndroidRuntime(18739): at com.sonymobile.android.media.internal.mpegdash.DASHSession$EventHandler.handleMessage(DASHSession.java:241)
05-12 13:54:57.932: E/AndroidRuntime(18739): at android.os.Handler.dispatchMessage(Handler.java:110)
05-12 13:54:57.932: E/AndroidRuntime(18739): at android.os.Looper.loop(Looper.java:193)
05-12 13:54:57.932: E/AndroidRuntime(18739): at
android.os.HandlerThread.run(HandlerThread.java:61)


I guess it's because the dash server and mpd parser. I want to build dash server, but I only find mp4box. What is your dash server?
I can played the mpd of "res/raw/sourcefile".
Can you tell me what is the difference between the "gpac-mpd" and the "sourcefile-mpd"?

@ghost
Copy link

ghost commented May 12, 2015

Hi.
Thank you for your comment.

We investigated your mpd-file an it contains a legacy representation list, the library do not support that.
However the library should not crash, we will investigate and fix that in a later release.

Regards
Jimmy

@ghost ghost reopened this May 20, 2015
@ghost
Copy link

ghost commented May 20, 2015

I reopen the issue, we will fix the crash for the unsupported mpd file. A solution exists on our internal development branch and will be uploaded soon. I will close the issue again when merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant