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

Bug: CRASH java.lang.IllegalArgumentException: The surface has been released #31

Open
JackMostow opened this issue Oct 13, 2022 · 3 comments
Assignees

Comments

@JackMostow
Copy link
Contributor

CRASH_20221012_042721_6111000161_sw_1.8.1.3.txt

java.lang.IllegalArgumentException: The surface has been released

--------- Stack trace ---------

android.media.MediaPlayer._setVideoSurface(Native Method)
android.media.MediaPlayer.setDisplay(MediaPlayer.java:759)
com.example.iris.login1.PlayEnrollmentVideo.run(PlayEnrollmentVideo.java:47)

--------- Cause ---------


Might be caused by violating protocol for Android process lifecycle -- sort of like declare, allocate, initialize, start, stop, end, destroy

@JackMostow
Copy link
Contributor Author

MediaPlayer not started successfully.
Creating passes MediaPlayer context (successfully) and resource (failed).
MediaPlayer class has what operations, with what constraints on their order?

@JackMostow
Copy link
Contributor Author

Believe fixed.

@madeleinvillegas
Copy link
Collaborator

Not fixed, i got this error today. It is registered as a crash but FaceLogin did not crash with this error

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

4 participants