Support Article
Portal fails due to unrecognized rule on pzassemblepreprocess
SA-15455
Summary
Unable to access the Pega application. The portal fails and an error message appears on screen. The portal does not present any specific technical aspect but the error message exhibits an unrecognized rule during the assembly process.
After performing “Revalidate & Save” of the Portal, the system turns accessible. This issue always occurs when deploying the application in to a new environment.
Error Messages
pzSectionBody_1(); /* Problem executing pzAssemblePreprocess for RULE-HTML-SECTION DATA-PORTAL MYMAINPORTAL #20150624T162754.269 GMT com.pega.pegarules.pub.PRRuntimeException: .pySections(1).pyDeferLoadRetrievalActivity: MyDeferWorkActivity does not exist for use by this record (Validate). .pySections(2).pyDeferLoadRetrievalActivity: MyDeferWorkActivity does not exist for use by this record (Validate). .pySections(3).pyDeferLoadRetrievalActivity: MyDeferWorkActivity does not exist for use by this record (Validate). */
Steps to Reproduce
- Create a Portal with a defer load activity
- Deploy your application on a new system
- At runtime, the portal fails
Root Cause
The error message displays that defer load activity has not been found. But the activity definitely exists.
Resolution
Local-change is to get rid of the defer load activity. The activity was mainly initializing pages. Therefore, perform this work outside portal loading.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.