Skip to content

[stable-25.0.x] fix(settings): avoid NPE in setupPhoneBookIntegration - #6688

Merged
mahibi merged 1 commit into
stable-25.0.xfrom
backport/6683/stable-25.0.x
Sep 10, 2026
Merged

[stable-25.0.x] fix(settings): avoid NPE in setupPhoneBookIntegration#6688
mahibi merged 1 commit into
stable-25.0.xfrom
backport/6683/stable-25.0.x

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 10, 2026

Copy link
Copy Markdown

Backport of PR #6683

currentUser?.capabilities?.spreedCapability!! crashed with NPE when
capabilities were not yet loaded. hasSpreedFeatureCapability already
accepts a nullable SpreedCapability?, so drop the non-null assertion.

The root cause of not yet loaded capabilities must be solved in other PRs.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@backportbot
backportbot Bot requested a review from mahibi September 10, 2026 09:12
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Sep 10, 2026
@backportbot backportbot Bot added this to the 25.0.0 milestone Sep 10, 2026
@mahibi
mahibi merged commit d268c84 into stable-25.0.x Sep 10, 2026
10 of 15 checks passed
@mahibi
mahibi deleted the backport/6683/stable-25.0.x branch September 10, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant