You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use CNES Report, it show error "java.lang.IllegalArgumentException: Illegal group reference"
To reproduce
Steps to reproduce the behavior.
Go to 'More'
Click on 'CNES Report'
Choice my my projects
See error
Screenshots & log
Aug 16, 2023 9:22:45 AM fr.cnes.sonar.report.ReportCommandLine execute
INFO: SonarQube URL: http://sonar.odc.sunline.cn
Aug 16, 2023 9:22:46 AM fr.cnes.sonar.report.ReportCommandLine execute
INFO: SonarQube online: true
Aug 16, 2023 9:22:46 AM fr.cnes.sonar.report.ReportCommandLine execute
INFO: Detected SonarQube version: 8.9.10.61524
Aug 16, 2023 9:23:07 AM fr.cnes.sonar.report.exporters.docx.DocXExporter export
WARNING: Unable to find provided DOCX template file (using default one instead) : /opt/sonarqube/extensions/plugins/./template.docx
Aug 16, 2023 9:23:10 AM fr.cnes.sonar.report.ReportCommandLine main
SEVERE: Illegal group reference
java.lang.IllegalArgumentException: Illegal group reference
at java.base/java.util.regex.Matcher.appendExpandedReplacement(Unknown Source)
at java.base/java.util.regex.Matcher.appendReplacement(Unknown Source)
at java.base/java.util.regex.Matcher.replaceAll(Unknown Source)
at java.base/java.lang.String.replaceAll(Unknown Source)
at fr.cnes.sonar.report.exporters.docx.DocXTools.replaceInParagraph(DocXTools.java:293)
at fr.cnes.sonar.report.exporters.docx.DocXTools.replacePlaceholder(DocXTools.java:175)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.replaceSimplePlaceholders(DocXExporter.java:182)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.export(DocXExporter.java:156)
at fr.cnes.sonar.report.factory.ReportFactory.report(ReportFactory.java:109)
at fr.cnes.sonar.report.ReportCommandLine.execute(ReportCommandLine.java:147)
at fr.cnes.sonar.report.ReportCommandLine.main(ReportCommandLine.java:82)
User environment
Please complete the following information.
sonarqube v8.9.10 Docker
CNES Report Version 4.1.3
The text was updated successfully, but these errors were encountered:
Describe the bug
when i use CNES Report, it show error "java.lang.IllegalArgumentException: Illegal group reference"
To reproduce
Screenshots & log
Aug 16, 2023 9:22:45 AM fr.cnes.sonar.report.ReportCommandLine execute
INFO: SonarQube URL: http://sonar.odc.sunline.cn
Aug 16, 2023 9:22:46 AM fr.cnes.sonar.report.ReportCommandLine execute
INFO: SonarQube online: true
Aug 16, 2023 9:22:46 AM fr.cnes.sonar.report.ReportCommandLine execute
INFO: Detected SonarQube version: 8.9.10.61524
Aug 16, 2023 9:23:07 AM fr.cnes.sonar.report.exporters.docx.DocXExporter export
WARNING: Unable to find provided DOCX template file (using default one instead) : /opt/sonarqube/extensions/plugins/./template.docx
Aug 16, 2023 9:23:10 AM fr.cnes.sonar.report.ReportCommandLine main
SEVERE: Illegal group reference
java.lang.IllegalArgumentException: Illegal group reference
at java.base/java.util.regex.Matcher.appendExpandedReplacement(Unknown Source)
at java.base/java.util.regex.Matcher.appendReplacement(Unknown Source)
at java.base/java.util.regex.Matcher.replaceAll(Unknown Source)
at java.base/java.lang.String.replaceAll(Unknown Source)
at fr.cnes.sonar.report.exporters.docx.DocXTools.replaceInParagraph(DocXTools.java:293)
at fr.cnes.sonar.report.exporters.docx.DocXTools.replacePlaceholder(DocXTools.java:175)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.replaceSimplePlaceholders(DocXExporter.java:182)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.export(DocXExporter.java:156)
at fr.cnes.sonar.report.factory.ReportFactory.report(ReportFactory.java:109)
at fr.cnes.sonar.report.ReportCommandLine.execute(ReportCommandLine.java:147)
at fr.cnes.sonar.report.ReportCommandLine.main(ReportCommandLine.java:82)
User environment
The text was updated successfully, but these errors were encountered: