When trying to export "Advanced API Training" document from standard Polarion's "Training Materials" error occurs:
{"status":"FAILED","errorMessage":"java.lang.IllegalArgumentException: Illegal group reference"}
Expected Behavior
Exporting to PDF shouldn't throw unhandled error
Steps To Reproduce
Having Polarion with any project where "Training Materials" installed
Open such project, then its "Documents & Pages", then "Training Materials" and document "Advanced API Training"
Open "Document Properties" side pane and click button "Export to PDF" in its "PDF Exporter" section
Error occurs
Environment - OS
Linux
Polarion version
2310
Extension Version
5.2.0
Anything else
Error stack trace:
Illegal group reference java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1067) ~[?:?] at java.util.regex.Matcher.appendReplacement(Matcher.java:997) ~[?:?] at ch.sbb.polarion.extension.pdf.exporter.util.HtmlProcessor.properTableHeads(HtmlProcessor.java:574) ~[ch.sbb.polarion.extension.pdf-exporter-5.2.0.jar:?]
Current Behavior
When trying to export "Advanced API Training" document from standard Polarion's "Training Materials" error occurs:
{"status":"FAILED","errorMessage":"java.lang.IllegalArgumentException: Illegal group reference"}
Expected Behavior
Exporting to PDF shouldn't throw unhandled error
Steps To Reproduce
Environment - OS
Linux
Polarion version
2310
Extension Version
5.2.0
Anything else
Error stack trace:
Illegal group reference java.lang.IllegalArgumentException: Illegal group reference at java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1067) ~[?:?] at java.util.regex.Matcher.appendReplacement(Matcher.java:997) ~[?:?] at ch.sbb.polarion.extension.pdf.exporter.util.HtmlProcessor.properTableHeads(HtmlProcessor.java:574) ~[ch.sbb.polarion.extension.pdf-exporter-5.2.0.jar:?]