Project Information
Repository:
https://github.com/lipangit/JiaoZiVideoPlayerProject Name: JiaoZiVideoPlayer
The issue submitted on GitHub: https://github.com/lipangit/JiaoZiVideoPlayer/issues/2419
My github link: https://github.com/darewealth
Describe the bug.
When I clicked on Api and click on Custom Mediaplayer, then click on Change to android.media.Mediaplayer and when I click on the phones back button, the app crashed.
Steps to reproduce.
Launch the app.
Clicked on the 'Api'
Then, click on 'Custom Mediaplayer'
Click on 'Change to android.media.Mediaplayer' and press the phone back button.
And note the bug
Expected Behaviour
I don't expect the app to crash when I made the changes, and click on the back button.
Screen recording
Devices and Versions):)
Device: [Itel]
Version [6.1]
App version [7.0.1]
Log
05-06 17:40:23.408 10587 10587 E AndroidRuntime: Process: cn.jzvd.demo, PID: 10587
meException: Unable to pause activity {cn.jzvd.demo/cn.jzvd.demo.ActivityApiCustomMedia}: java.lang.NullPointerException: Attempt to invoke virtual method 'void cn.jzvd.u.g()' on a null object reference05-06 17:40:23.408 10587 10587 E AndroidRuntime: java.lang.Runti
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3396)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3355)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3330)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.ActivityThread.-wrap13(ActivityThread.java)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5452)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void cn.jzvd.u.g()' on a null object reference
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at cn.jzvd.z.v()
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at cn.jzvd.JzvdStd.v()
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at cn.jzvd.z.w()
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at cn.jzvd.demo.ActivityApiCustomMedia.onPause()
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.Activity.performPause(Activity.java:6417)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1314)
05-06 17:40:23.408 10587 10587 E AndroidRuntime: at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3382)```
Hi @darewealth, thanks for making this report.
This appears to have been fixed by the PO. Great of you to have provided a logcat. This must have helped narrow down the search for what possibly went wrong.
The bug description is well written, same as the expected behavior. Also, the steps looked easy enough to follow.
On the post title, I believe that it could have been better worded.
I look forward to more of your contributions.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @fego! Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @darewealth!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi, @darewealth!
You just got a 1.02% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey, @darewealth!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit