Skip to content

[5.19.x] [#2406] Guard against null region subscriptions in duplicate suppression - #2415

Merged
mattrpav merged 1 commit into
apache:activemq-5.19.xfrom
mattrpav:amq-gh-2406-5.19.x
Aug 6, 2026
Merged

[5.19.x] [#2406] Guard against null region subscriptions in duplicate suppression#2415
mattrpav merged 1 commit into
apache:activemq-5.19.xfrom
mattrpav:amq-gh-2406-5.19.x

Conversation

@mattrpav

@mattrpav mattrpav commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

getRegionSubscriptions returns null when the destination's region is not an AbstractRegion; duplicateSuppressionIsRequired iterated the result unconditionally, throwing NPE on the advisory path and tearing down the bridge. Treat a null view as nothing to compare against.

(cherry picked from commit 5b0f3fa)

…ppression

getRegionSubscriptions returns null when the destination's region is not
an AbstractRegion; duplicateSuppressionIsRequired iterated the result
unconditionally, throwing NPE on the advisory path and tearing down the
bridge. Treat a null view as nothing to compare against.

(cherry picked from commit 5b0f3fa)
@mattrpav mattrpav self-assigned this Aug 6, 2026
@mattrpav
mattrpav merged commit 0d04286 into apache:activemq-5.19.x Aug 6, 2026
3 of 4 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Apache ActiveMQ v5.19.10 Aug 6, 2026
@mattrpav
mattrpav deleted the amq-gh-2406-5.19.x branch August 6, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant