Maximum attribute size limit (524288) exceeded

Hi, I am doing a code review using sonarqube(Enterprise Edition Version 8.9.10 (build 61524)) and I have the following error while performing the code test coverage review:

[ERROR] Failed to execute goal org. Sonarsource. Scanner. Maven: sonar maven - plugin: 3.11.0.3922: sonar (default - cli) on project coin-service: Fail to parse the Surefire report:  /home/jenkins/agent/workspace/base-service-coin-service@2/coin-core/target/surefire-reports/TEST-com.coin.core.service.i mpl.EditServiceImplSpec.xml: Maximum attribute size limit (524288) exceeded -> [Help 1]

I tried in sonar. Web. JavaAdditionalOpts add DmaxAttrSize parameter configuration items

sonar.web.javaAdditionalOpts=-DmaxAttrSize=1048576

After adding parameters and restarting sonarqube, the same error still occurs. How can I solve this problem

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.9.10 → 9.9.4 → 10.5.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.