java.lang.UnsupportedOperationException: Can not add the same measure twice on x/y.yml

After upgrading to SonarQube EE, one of our teams gets this exception, breaking their GitLab CI pipeline.

I have seen a couple of issues with the same exception, but not with the combination of sonar-cli scanner and YAML files.

Any suggestions on how to fix this? Workarounds?

INFO: SonarScanner
INFO: Java 11.0.15 Alpine (64-bit)
INFO: Linux 4.18.0-372.26.1.el8_6.x86_64 amd64
INFO: User cache: /opt/sonar-scanner/.sonar/cache
INFO: Scanner configuration file: /opt/sonar-scanner/conf/
INFO: Project root configuration file: NONE
INFO: Analyzing on SonarQube server
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)

Active plugins, all in their latest versions:


I disabled the external YAML and Ansible plugins, which solved the problem. It seems like the internal Kubernetes and external YAML plugins are incompatible.