8000 Crash: NullPointerException on resume in MediaView (ExoPlayer) · Issue #178 · cygnusx-1-org/Slide · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Crash: NullPointerException on resume in MediaView (ExoPlayer) #178

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
PrimaryVision opened this issue Apr 18, 2025 · 0 comments
Closed
Labels

Comments

@PrimaryVision
Copy link
Member
04-18 09:35:23.704 15720 15720 E AndroidRuntime: FATAL EXCEPTION: main
04-18 09:35:23.704 15720 15720 E AndroidRuntime: Process: me.edgan.redditslide, PID: 15720
04-18 09:35:23.704 15720 15720 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {me.edgan.redditslide/me.edgan.redditslide.Activities.MediaView}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.exoplayer2.SimpleExoPlayer.play()' on a null object reference
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5721)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5764)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:64)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:60)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:230)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:112)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:86)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2902)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:107)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:282)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:387)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:9500)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)
04-18 09:35:23.704 15720 15720 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.exoplayer2.SimpleExoPlayer.play()' on a null object reference
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at me.edgan.redditslide.Views.ExoVideoView.play(ExoVideoView.java:308)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at me.edgan.redditslide.Activities.MediaView.onResume(MediaView.java:134)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1740)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.Activity.performResume(Activity.java:9361)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5703)
04-18 09:35:23.704 15720 15720 E AndroidRuntime:        ... 14 more

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

2 participants
0