PROJECT INFORMATION
- repositories :https://github.com/robertoissc/DailyPrayer-Android
- app name : dayli prayer
- issues : https://github.com/robertoissc/DailyPrayer-Android/issues/22
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)```