(BUG) (QuranyApp version 1.8.96 ) The application crashes when I click on the read button

in #utopian-io6 years ago

Project Information

Expected behavior

When I click on the read button, the application should not crash All options in the read button should appear

Actual behavior

After opening the application's Latest version, the application crashes when I click on the read button.

How to reproduce

1-Download the app and open it
2- Click the read button at the bottom left side
3- see bug

  • Browser/App version: 1.8.96
  • Operating system: 6.0.1
  • Smartphone: Galaxy j7

Recording Of The Bug

20190519_014103

My Github Account

https://github.com/facebook-786

Logcat

E/AndroidRuntime(14733): FATAL EXCEPTION: main

E/AndroidRuntime(14733): Process: education.mahmoud.quranyapp, PID: 14733

E/AndroidRuntime(14733): java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.ybq.android.spinkit.SpinKitView.setVisibility(int)' on a null object reference

E/AndroidRuntime(14733): at education.mahmoud.quranyapp.feature.show_sura_list.SuraListFragment$1.handleMessage(Unknown Source)

E/AndroidRuntime(14733): at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(14733): at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(14733): at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(14733): at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(14733): at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(14733): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(14733): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

Sort:  

Hi @facebok, thanks for making this contribution.

I see this has been rectified in the app's version 1.90 cause I could not reproduce the error. The crash log provided here was really helpful. What is the use of the app if a user is unable to read the passages.

The expected and actual behaviors are well explained. There is still room to grow so I would cut you some slacks.

Thanks again for the report. I look forward to your future 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]


Need help? Chat with us on Discord.

[utopian-moderator]

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

Hi @facebok!

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

Congratulations @facebok! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published more than 30 posts. Your next target is to reach 40 posts.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Hey, @facebok!

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!