Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Fail to Checkout / Save As an HTML Frag after Pega 7 Upgrade

SA-14391

Summary



After an upgrade to Pega 7.1.7, user is unable to checkout or Save As an HTML fragment rule. The HTML fragment rule has <div> elements that contain a long list of attributes. 

If some of these attributes are dropped, the HTML fragment rule is saved successfully.

Error Messages

Caused by: java.lang.StackOverflowError

  at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5151)

  at java.util.regex.Pattern$5.isSatisfiedBy(Pattern.java:5151)

  at java.util.regex.Pattern$CharProperty.match(Pattern.java:3694)

  at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)

  at java.util.regex.Pattern$Loop.match(Pattern.java:4692)

  at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)

  at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)

  at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)

  at java.util.regex.Pattern$Curly.match(Pattern.java:4134)

  at java.util.regex.Pattern$Branch.match(Pattern.java:4502)

  at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)


Steps to Reproduce



1. Open an HTML Fragment rule in Designer Studio that has <div> elements with a long list of attributes.
2. Click "Check Out" or "Save As". 

 

Root Cause



The issue is due to a StackOverflowError as displayed in the PegaRULES log file. 

Resolution



In this case, increasing the JVM stack size by setting the Java Options as -Xss40m helped resolve the issue. 

Published October 1, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us