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

Circumstanced section does not render at runtime

SA-53713

Summary



A circumstanced section does not render at runtime.


Error Messages



Error in assembling the rule {pxObjClass=Rule-HTML-Section, pxAspect=Stream, pyClassName=XXX-FW-XXXFW-Work, pyStreamName=YYYYYYY}
Failed to compile generated Java com.pegarules.generated.html_section.ra_stream_YYYYY_dd28a2b585c2ff77ca78a2e68873bb15
1. ERROR in /com/pegarules/generated/html_section/ra_stream_YYYYY_dd28a2b585c2ff77ca78a2e68873bb15.java (at line 54)
public class ra_stream_YYYYY_dd28a2b585c2ff77ca78a2e68873bb15 extends StreamBuilderSection implements StreamBuilder, FUASupport, FUAReusable, WebAllowable {

Too many constants, the constant pool for ra_stream_YYYYY_dd28a2b585c2ff77ca78a2e68873bb15 would exceed 65536 entries

1 problem (1 error)
Compile failed.


Steps to Reproduce

  1. Create a section with multiple Repeat Grid layouts with numerous columns
  2. Create 45 to 50 circumstance versions of the section rule with different repeat grid columns.
  3. Create a case and render the section at runtime.


Root Cause



As circumstanced sections have multiple dependencies and are assembled in a single Java file, there are multiple references to the constants which exceed the 65536 entries allowed by JVM.


Resolution



An enhancement request, FDBK-25285, is created for consideration by Pega Product Management.


 

Published July 23, 2018 - 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