crash if change from potrait to landscape or vice versa during sytem loading

in utopian-io •  6 years ago 

PROJECT INFORMATION

EXPECTED BEHAVIOR

when a user accidentally changes the appearance of their phone before it is fully loaded, this application will still work properly

ACTUAL BEHAVIOR

if the appearance of the phone changes before it is fully loaded, this application crashes

HOW TO REPRODUCE

step reproduce

  • open the app and before the app fully loaded change the view

DEVICE: android 6.01
BROWSER: dayli prayer v 18.10.01

bug recording

LOG CAT

java.lang.NullPointerException: Attempt to invoke interface method 'void com.isscroberto.dailyprayerandroid.prayer.PrayerContract$View.showPrayer(com.isscroberto.dailyprayerandroid.data.models.Item)' on a null object reference
    at com.isscroberto.dailyprayerandroid.prayer.PrayerPresenter$1.onResponse(PrayerPresenter.java:66)
    at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
    at android.os.Handler.handleCallback(Handler.java:815)
    at android.os.Handler.dispatchMessage(Handler.java:104)
    at android.os.Looper.loop(Looper.java:218)
    at android.app.ActivityThread.main(ActivityThread.java:5657)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)```
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 @muhammadarif, thanks for providing us with this report.

Unfortunately, this cannot be scored. Reports that involve rotating or switching the orientation of the testing device are considered cosmetic and according to the new guidelines will not be scored.

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!

Hi @muhammadarif!

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 @muhammadarif! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published more than 250 posts. Your next target is to reach 300 posts.
You received more than 8000 upvotes. Your next target is to reach 9000 upvotes.

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!

Hi, @muhammadarif!

You just got a 0.06% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.