[JiaoZiVideoPlayer version 7.0.1] The app gets crashes when I click the Small Change UI option

in #utopian-io7 years ago

Project Information

The PO has acknowledged the bug

I am very sorry and even ashamed, I can't play after the confusion, the bug is serious, I am trying to modify it.

Expected behavior

I was hoping that when I click the Small Change UI option, the application should not be crashed.

Actual behavior

After I open the application, I click on the Small Change UI option. The application crashes as you can see in the video

How to reproduce

  • Download the latest version of the application
  • After installing the application, open it
  • Click on API
  • Click on SMALL CHANGE UL
  • Note the Bug
  • Browser/App version-: 7.0.1
  • Operating system----: 9.0.0

Operating system 9.0.0 Proof

Screenshot_20190502-220130_Settings.jpg

Recording Of The Bug

20190502_211623.gif

Logcat

05-02 21:01:03.926 30882 30882 E AndroidRuntime: FATAL EXCEPTION: main
05-02 21:01:03.926 30882 30882 E AndroidRuntime: Process: cn.jzvd.demo, PID: 30882
05-02 21:01:03.926 30882 30882 E AndroidRuntime: java.lang.RuntimeException: Unable to pause activity {cn.jzvd.demo/cn.jzvd.demo.ActivityApi}: java.lang.NullPointerException: Attempt to invoke virtual method 'void cn.jzvd.u.e()' on a null object reference
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4262)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4217)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4169)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:45)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:106)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:214)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7073)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
05-02 21:01:03.926 30882 30882 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void cn.jzvd.u.e()' on a null object reference
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at cn.jzvd.z.h(Unknown Source:24)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at cn.jzvd.demo.ActivityApi.onPause(Unknown Source:14)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.Activity.performPause(Activity.java:7606)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1469)
05-02 21:01:03.926 30882 30882 E AndroidRuntime:    at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4252)
Sort:  

Hi @xamir5, thanks for making this contribution.

The actual and expected behavior is not well written. It was difficult to spot the discrepancy between what went wrong and what was expected. The PO is not a native English speaker so I can understand the difficulty in communication. The steps, on the other hand, were easy to follow. Although, I still wish your posts were more descriptive.

I look forward to your next contribution. And I hope you'll do something about your grammar. I'd still advise you to read more English posts on steemit for a start.

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!

Hey, @xamir5!

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!