Skip to content

[maven-4.0.x] Backport bug fixes from #11741 and #11733#12144

Merged
gnodet merged 2 commits into
maven-4.0.xfrom
backport/11741-11733-to-4.0.x
May 23, 2026
Merged

[maven-4.0.x] Backport bug fixes from #11741 and #11733#12144
gnodet merged 2 commits into
maven-4.0.xfrom
backport/11741-11733-to-4.0.x

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 23, 2026

Summary

Backports two bug fixes from master to maven-4.0.x:

Both cherry-picks applied cleanly with no conflicts.

Test plan

  • Cherry-picks apply cleanly
  • CI passes on maven-4.0.x

Claude Code on behalf of Guillaume Nodet

abhu85 and others added 2 commits May 23, 2026 07:44
The validateProfileId() method was missing a null check before calling
validProfileIds.contains(id). Since validProfileIds uses
ConcurrentHashMap.newKeySet() which doesn't allow null keys, a null
profile ID would cause a NullPointerException instead of a proper
validation error.

This makes validateProfileId() consistent with validateCoordinateId()
which already has the null check.

Fixes #11740

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix: error == null to error != null in isError

* feat: add regresion test
@gnodet gnodet merged commit 763898b into maven-4.0.x May 23, 2026
24 checks passed
@gnodet gnodet deleted the backport/11741-11733-to-4.0.x branch May 23, 2026 06:52
@github-actions
Copy link
Copy Markdown

@gnodet Please assign appropriate label to PR according to the type of change.

@github-actions github-actions Bot added this to the 4.0.0-rc-6 milestone May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants