itperfecto
(itperfecto)
January 21, 2026, 8:16pm
1
After upgrading from 3.78.2-04 to 3.88, the following error appeared:
Default Role - FAILED Load failed: javax.validation.ConstraintViolationException: Validation failed; 1 constraints violated
Unfortunately, no.
Here is the full error stacktrace:
javax.validation.ConstraintViolationException: Validation failed; 1 constraints violated
javax.validation.ConstraintViolationException: Validation failed; 1 constraints violated
at org.sonatype.nexus.validation.ConstraintViolations.maybePropagate(ConstraintViolations.java:67)
at org.sonatype.nexus.capability.CapabilityDescriptorSupport.validate(CapabilityDescriptorSupport.java:171)
at org.sonatype.nexus.capability.CapabilityDescriptorSu…
If I delete and recreate this capability (Default Role), the error disappears until the next restart. After restarting Nexus, the error reappears.
itperfecto
(itperfecto)
January 23, 2026, 6:30pm
2
I replaced the default role with a newly created one, and now the error is gone. Looks like the hyphen in the name (or something similar) was causing the problem.
Théo_AD
(ThéoAD)
April 10, 2026, 2:09pm
3
Hello,
We have the same problem with Nexus (Docker) : When we recreate the role it’s work but is broken at every reboot and it’s need to recreate the role again.
Have you a fix for this issue ?
Thanks
rseddon
(Rich Seddon)
April 10, 2026, 11:18pm
4
That should be fixed in the 3.91.0 release:
NEXUS-48819 – The Default Role capability now supports built-in roles like nx-anonymous and nx-admin across instance restarts and upgrades.