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

1.8.1.3 CRASH Caused by: java.lang.NullPointerException: Attempt to invoke virtual method android.media.MediaPlayer$OnCompletionListener on a null object reference #33

Open
JackMostow opened this issue Nov 16, 2022 · 4 comments
Assignees
Labels

Comments

@JackMostow
Copy link
Contributor

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.setOnCompletionListener(android.media.MediaPlayer$OnCompletionListener)' on a null object reference
at com.example.iris.login1.GalleryActivity.setMeidaPlayerListeners(GalleryActivity.java:969)
at com.example.iris.login1.GalleryActivity.initVarsOfMediaPlayer(GalleryActivity.java:487)
at com.example.iris.login1.GalleryActivity.onCreate(GalleryActivity.java:317)
at android.app.Activity.performCreate(Activity.java:8000)
at android.app.Activity.performCreate(Activity.java:7984)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)

→ Note: misspelling Meida is actually in GalleryActivity

@JackMostow
Copy link
Contributor Author

@bhargavmyadam - Was this version 1.8.1.3? On which branch?

@bhargavmyadam
Copy link
Collaborator

Yes professor it is 1.8.1.3.

@JackMostow
Copy link
Contributor Author

Believe fixed.

@madeleinvillegas
Copy link
Collaborator

@rohankulkz please push the code changes

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

No branches or pull requests

3 participants