Bug: JZVD.[ V, 7.0.1] App crashed in direct play full screen when I clicked on the back button

in #utopian-io5 years ago

Project Information

Describe the bug.

When I clicked on direct play and click on full screen, It keeps rolling and when I click on the phones back button, the app crashed.

Steps to reproduce.

  • Launch the app.

  • Clicked on the 'Direct play'

  • Then, click on 'Fullscreen' and press the phone back button.

  • And note the bug

Expected Behaviour

I was expecting it to play the video in full screen and when I clicked on the phone back button, I expected it to take me back to the app.

Screen recording

Devices and Versions):)

  • Device: [Itel]

  • Version [6.1]

  • App version [7.0.1]

log

05-02 10:47:08.423 30235 30235 E AndroidRuntime: Process: cn.jzvd.demo, PID: 30235
05-02 10:47:08.423 30235 30235 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void cn.jzvd.u.g()' on a null object reference
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at cn.jzvd.z.d()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at cn.jzvd.z.b()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at cn.jzvd.demo.ActivityDirectPlay.onBackPressed()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.app.Activity.onKeyUp(Activity.java:2488)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.KeyEvent.dispatch(KeyEvent.java:2664)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.support.v4.view.g.a()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.support.v4.view.g.a()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.support.v4.app.Z.dispatchKeyEvent()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.support.v7.app.m.dispatchKeyEvent()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at a.b.d.e.j.dispatchKeyEvent()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.support.v7.app.x$c.dispatchKeyEvent()
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at com.android.internal.policy.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2326)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4127)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4089)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3787)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3844)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3820)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3981)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2253)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1874)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1865)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2230)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.os.MessageQueue.nativePollOnce(Native Method)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.os.MessageQueue.next(MessageQueue.java:323)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:135)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5452)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
05-02 10:47:08.423 30235 30235 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)```
Sort:  

Hi @darewealth, thanks for making this report.

While this issue is reproducible, it has to deal with a feature of the app that requires it to alter the screen orientation of the device from portrait to landscape. And right now such issues are considered trivial according to the new guideline and will not be scored.

I apologise for any inconvenience as a result. 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]

Thanks @fego. I think you are not entirely right here. I did not rotate my device. The app behaved that way when the full screen button is pressed. So, technically, my report should get its review.

Waiting for you response...

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

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.30
TRX 0.12
JST 0.033
BTC 63648.37
ETH 3125.02
USDT 1.00
SBD 3.87