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



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(

  at java.util.regex.Pattern$5.isSatisfiedBy(

  at java.util.regex.Pattern$CharProperty.match(

  at java.util.regex.Pattern$GroupTail.match(

  at java.util.regex.Pattern$Loop.match(

  at java.util.regex.Pattern$GroupTail.match(

  at java.util.regex.Pattern$BranchConn.match(

  at java.util.regex.Pattern$Curly.match1(

  at java.util.regex.Pattern$Curly.match(

  at java.util.regex.Pattern$Branch.match(

  at java.util.regex.Pattern$GroupHead.match(

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. 


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