Skip to content

[6.2.x] [#2406] Guard against null region subscriptions in duplicate suppression - #2416

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

[6.2.x] [#2406] Guard against null region subscriptions in duplicate suppression#2416
mattrpav merged 1 commit into
apache:activemq-6.2.xfrom
mattrpav:amq-gh-2406-6.2.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 changed the title [#2406] Guard against null region subscriptions in duplicate suppression [6.2.x] [#2406] Guard against null region subscriptions in duplicate suppression Aug 6, 2026
@mattrpav
mattrpav merged commit 05885ad into apache:activemq-6.2.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 v6.2.9 Aug 6, 2026
@mattrpav
mattrpav deleted the amq-gh-2406-6.2.x branch August 6, 2026 01:08
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