Issue upgrading to Gradle 8.12: Problems API > "NullPointerException: group.displayName"

Sounds like you should open a bug report about it.

To find where the problem is coming from, I think you should put a breakpoint to the constructor of org.gradle.api.problems.internal.DefaultProblemGroup with a condition that displayName is null.