Question

7
Replies
204
Views
Manuel Herias Gomez (HERIM)
PEGA
Principal System Architect
Pegasystems Inc.
ES
HERIM Member since 2010 8 posts
PEGA
Posted: April 25, 2017
Last activity: August 25, 2017
Posted: 25 Apr 2017 7:27 EDT
Last activity: 25 Aug 2017 10:39 EDT
Closed
Solved

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.

Data Integration Java and Activities System Administration Upgrades
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.