FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
Describe the bug
On login after entering correct credentials, the app crashes.
When checking the logs, there's a Null Pointer Exception associated with the ExtendedFab class.
To Reproduce
Steps to reproduce the behaviour:
Launch the app
Enter the App ID in the App Settings screen to load the app configs
Enter login credentials (and set PIN if enabled)
The app crashes immediately
Expected behaviour
On successful login, the register should load
java.lang.NullPointerException
at org.smartregister.fhircore.quest.ui.shared.components.ExtendedFabKt$ExtendedFab$2.invoke(ExtendedFab.kt:92)
at org.smartregister.fhircore.quest.ui.shared.components.ExtendedFabKt$ExtendedFab$2.invoke(ExtendedFab.kt:78)
Describe the bug On login after entering correct credentials, the app crashes. When checking the logs, there's a Null Pointer Exception associated with the
ExtendedFab
class.To Reproduce Steps to reproduce the behaviour:
Expected behaviour On successful login, the register should load
Screenshots login_app_crash.webm
Additional context
Logs