Bug: JZVD.[ V, 7.0.1] App crashed when i clicked on stop play

in #utopian-io5 years ago

Project Information

Describe the bug.

When I clicked to play the video in the app, it poped up that the player will continue to consume traffic so I clicked on stop play and the app crashed.

Steps to reproduce.

  • Launch the app.

  • Clicked on the video in the app

  • Then, click on stop play when it pops up a an info

  • And note the bug

Expected Behaviour

I was expecting it not to play the video and return me back to the app

Screen recording

Devices and Versions):)

  • Device: [Itel]

  • Version [6.1]

  • App version [7.0.1]

log

05-02 10:48:13.580 30501 30501 E AndroidRuntime: Process: cn.jzvd.demo, PID: 30501
05-02 10:48:13.580 30501 30501 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void cn.jzvd.u.g()' on a null object reference
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at cn.jzvd.z.d()
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at cn.jzvd.JzvdStd.b()
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at cn.jzvd.r.onClick(lambda)
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:163)
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5452)
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
05-02 10:48:13.580 30501 30501 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)```
Sort:  

Hi @darewealth, thanks for making this contribution.

This appears to have been fixed and closed by the PO. I love that you included a logcat. This must have helped narrow down the search.

The bug's actual behavior is well written, the same as the expected behavior. Also, the steps looked easy enough to follow. Your title, on the other hand, should be better worded in future reports. While testing, I was literally looking for a button labeled "stop play".

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]

Thank you for your review, @fego! Keep up the good work!

Thanks for using eSteem!
Your post has been voted as a part of eSteem encouragement program. Keep up the good work! Install Android, iOS Mobile app or Windows, Mac, Linux Surfer app, if you haven't already!
Learn more: https://esteem.app
Join our discord: https://discord.gg/8eHupPq

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

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!

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 63617.36
ETH 3070.79
USDT 1.00
SBD 3.82