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

NullPointerException occurs and sections do not load

SA-71240

Summary



NullPointerException occurs and sections do not load in the Test environment. The sections are stored as a control in the UI when opened from Designer Studio.


Error Messages



pzSectionBody_1(); /* Problem executing pzAssemblePreprocess for RULE-HTML-SECTION HEALTHCARE-FW-NEMSWFW-WORK SEARCHFACOVERAGEFILTER java.lang.NullPointerException */


Steps to Reproduce

  1. Open Designer Studio.
  2. Create a section.
  3. Perform a section include in a dynamic layout.

Root Cause



An issue in the custom application code or rules.
When working with the portal, the user may have a single access group with a single access role. The Read Rules privilege for @baseclass was insufficient to work with pzAssemblePreProcess. Additionally, the pzAssemblePreprocess activity of section class was not triggered. Hence, some properties were missing in the section XML code.


Resolution



Perform the following local-change:
  1. Set the Read Rules privilege for @baseclass to 5.
  2. Delete the caches entries with the following queries:

    delete from pr_sys_appcache_shortcut where pzimplementationkey like 'html_section.ra_stream_mytestsection_%';
    delete from pr_sys_appcache_entry where pzimplementationkey like 'html_section.ra_stream_mytestsection_%';
    delete from pr_sys_appcache_dep where pzimplementationkey like 'html_section.ra_stream_mytestsection_%';

  3. Apply the HFix-26748 (existing) to force trigger the pzAssemblePreprocess activity of section class FUA for all sections.
  4. Resave the section (in which the issue is encountered) to recreate the missing properties.
  5. Clear the cache.

Published March 23, 2019 - 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