Skip to content

fix: NPE when web push subscription is expired (#24310) (CP: 25.1)#24316

Merged
vaadin-bot merged 1 commit into
25.1from
cherry-pick-24310-to-25.1-1778483787687
May 11, 2026
Merged

fix: NPE when web push subscription is expired (#24310) (CP: 25.1)#24316
vaadin-bot merged 1 commit into
25.1from
cherry-pick-24310-to-25.1-1778483787687

Conversation

@vaadin-bot
Copy link
Copy Markdown
Collaborator

This PR cherry-picks changes from the original PR #24310 to branch 25.1.

Original PR description

When the push service reports a subscription as expired, WebPush.sendNotification threw NullPointerException instead of the intended WebPushException.

Remove a leftover reference to an unassigned HttpResponse local variable that was no longer populated after the migration to com.interaso.webpush.

Fixes #24306

When the push service reports a subscription as expired,
`WebPush.sendNotification` threw `NullPointerException` instead of the
intended `WebPushException`.

Remove a leftover reference to an unassigned `HttpResponse` local
variable that was no longer populated after the migration to
`com.interaso.webpush`.

Fixes #24306
@vaadin-bot
Copy link
Copy Markdown
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR [Message is sent from bot]

@vaadin-bot vaadin-bot enabled auto-merge (squash) May 11, 2026 07:26
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Test Results

 1 389 files  +1   1 389 suites  +1   1h 22m 54s ⏱️ - 3m 49s
10 024 tests +2   9 954 ✅ +2  70 💤 ±0  0 ❌ ±0 
10 497 runs  +2  10 418 ✅ +2  79 💤 ±0  0 ❌ ±0 

Results for commit bae66de. ± Comparison against base commit 89c02e0.

@vaadin-bot vaadin-bot merged commit 0b1ceb4 into 25.1 May 11, 2026
29 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-24310-to-25.1-1778483787687 branch May 11, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants