[QuranyApp][v1.9.0] The app crashes if I click on bookmark

in utopian-io •  6 years ago  (edited)

Related Information

https://github.com/MahmoudMabrok/QuranyApp

Expected behavior

The application should not crash when I click "Bookmark"

Actual behavior:

The application is crash when I click "Bookmarks" option.

How to reproduce:

  • Download the app and open it
  • click Naw Bookmark.
  • see bug

Recording Of The Bug:

Test Environment:

Device:samsung J5
OS: Android 6.0.1
Version: v1.9.0

My GitHub account:

https://github.com/44asad

Logcat:

05-18 02:59:04.832 11756 11756 E AndroidRuntime: FATAL EXCEPTION: main
05-18 02:59:04.832 11756 11756 E AndroidRuntime: Process: education.mahmoud.quranyapp, PID: 11756
05-18 02:59:04.832 11756 11756 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.ybq.android.spinkit.SpinKitView.setVisibility(int)' on a null object reference
05-18 02:59:04.832 11756 11756 E AndroidRuntime:   at education.mahmoud.quranyapp.feature.show_sura_list.SuraListFragment$1.handleMessage(Unknown Source)
05-18 02:59:04.832 11756 11756 E AndroidRuntime:   at android.os.Handler.dispatchMessage(Handler.java:102)
05-18 02:59:04.832 11756 11756 E AndroidRuntime:   at android.os.Looper.loop(Looper.java:158)
05-18 02:59:04.832 11756 11756 E AndroidRuntime:   at android.app.ActivityThread.main(ActivityThread.java:7231)
05-18 02:59:04.832 11756 11756 E AndroidRuntime:   at java.lang.reflect.Method.invoke(Native Method)
05-18 02:59:04.832 11756 11756 E AndroidRuntime:   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
05-18 02:59:04.832 11756 11756 E AndroidRuntime:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi @asad44, thanks for making this report.

I was able to reproduce the same behavior on my device following the steps you provided. Clicking bookmarks did lead to a crash.

I noticed you closed the issue you opened on github after the PO added the bug label. You shouldn't do this. Closing an issue signifies that the bug, in particular, has been fixed. You should leave the closing to the PO.

SO having said that, I will like to re-open the issue so that the PO does not think it is already solved.

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]

ok sir?

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

Hello @asad44
Are you on discord or telegram?
I need to talk to you

Hi @asad44!

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, @asad44!

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!