Support Article

Sections not rendering due to FUA errors

SA-37287

Summary



After upgrading Pega from 7.1.9 to 7.2.2, some sections aren't rendering properly due to first use assembly (FUA) errors. Traces suggest that the wrong version of the rule is being used.


Error Messages



Failed to generate com.pegarules.generated.html_section.ra_stream_hrreview_7fa3ee3a808f3a5453fcf19f72d9c5d5
com.pega.pegarules.pub.generator.FirstUseAssemblerException: Failed to compile generated Java com.pegarules.generated.html_section.ra_stream_hrreview_7fa3ee3a808f3a5453fcf19f72d9c5d5: ----------
1. ERROR in /com/pegarules/generated/html_section/ra_stream_hrreview_7fa3ee3a808f3a5453fcf19f72d9c5d5.java (at line 700)
boolean pyVisibility = pzAuto.evaluateWhen(".SearchFacultyID != \'\'",null,true);
^^^^^^^^^^^^
Duplicate local variable pyVisibility
----------
2. ERROR in /com/pegarules/generated/html_section/ra_stream_hrreview_7fa3ee3a808f3a5453fcf19f72d9c5d5.java (at line 2755)
boolean pyVisibility = pzAuto.evaluateWhen(".SearchFacultyID != \'\'",null,true);
^^^^^^^^^^^^
Duplicate local variable pyVisibility


Steps to Reproduce

  1. Login to Dev as HRUser
  2. Find a case in HR Review status with an HR Review assignment
  3. Open the assignment


Root Cause



A defect in Pegasystems’ code or rules. The code in the LayoutAssembly.java and LayoutContainerAssembly.java needs to make sure that Boolean variable should not be declared again once it is declared.

Resolution



Apply HFix-34043.

Published April 28, 2017 - Updated May 5, 2017

Have a question? Get answers now.

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