You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CollectPersonalDetailsTaskViewHolder.updateModel casts a value to a non-null kotlin.String (a !! or an implicit platform-type cast) while binding the "collect personal details" inbox task. The value is null for some accounts, so the cast throws during RecyclerView layout and takes down the app.
The fix is to treat the field as nullable and render a sensible default, or to skip binding the row when the value is missing.
Reproduction
Unknown. It fires while the OldDot inbox list binds the collect-personal-details task, so it needs an account whose personal details task is missing the field that line 114 reads.
Related
Expensify/Expensify#83022 (closed) tracked the same crash at CollectPersonalDetailsTaskViewHolder.kt:107. The line moved to 114 and the crash is active again, so this is filed fresh rather than reopened.
Sentry
https://expensify.sentry.io/issues/APP-C3
Impact (snapshot at filing)
UncaughtExceptionHandler(fatal)Stack trace (top frames, first-party only)
Suspected cause
CollectPersonalDetailsTaskViewHolder.updateModelcasts a value to a non-nullkotlin.String(a!!or an implicit platform-type cast) while binding the "collect personal details" inbox task. The value is null for some accounts, so the cast throws during RecyclerView layout and takes down the app.The fix is to treat the field as nullable and render a sensible default, or to skip binding the row when the value is missing.
Reproduction
Unknown. It fires while the OldDot inbox list binds the collect-personal-details task, so it needs an account whose personal details task is missing the field that line 114 reads.
Related
CollectPersonalDetailsTaskViewHolder.kt:107. The line moved to 114 and the crash is active again, so this is filed fresh rather than reopened.Upwork Automation - Do Not Edit