PDF Generation error - Out of bounds
Hi All,
We are experiencing some erratic behaviour. When attempting to generate a PDF for a section, sometimes it does work and others (same information on both) we get the following exception, thrown by step 4 (Java) of the HTMLtoPDF activity :
Caused by:
java.lang.StringIndexOutOfBoundsException
at java.lang.String.<init>(String.java:250)
at org.w3c.tidy.TidyUtils.getString(TidyUtils.java:658)
at org.w3c.tidy.Lexer.getCDATA(Lexer.java:1824)
at org.w3c.tidy.ParserImpl$ParseScript.parse(ParserImpl.java:667)
at org.w3c.tidy.ParserImpl.parseTag(ParserImpl.java:203)
at org.w3c.tidy.ParserImpl$ParseHead.parse(ParserImpl.java:576)
at org.w3c.tidy.ParserImpl$ParseHTML.parse(ParserImpl.java:313)
at org.w3c.tidy.ParserImpl.parseDocument(ParserImpl.java:3401)
at org.w3c.tidy.Tidy.parse(Tidy.java:433)
at org.w3c.tidy.Tidy.parse(Tidy.java:263)
at com.pega.pegarules.integration.engine.internal.util.PDFUtilsImpl.invokeTidy(PDFUtilsImpl.java:808)
at com.pega.pegarules.integration.engine.internal.util.PDFUtilsImpl.preProcessHTML(PDFUtilsImpl.java:9
I have even left the section, which is referred by the smart shape, with a hardcoded value but still getting same issue.
Anyone who has experienced this? We are using 7.2.2 and Mashup for accessing the application.
Thanks a lot!
Manuel.