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

Column personalization functions incorrectly



Column personalization functions incorrectly.

Error Messages

Caused by: java.lang.NullPointerException at com.pegarules.generated.activity.ra_action_performpreprocessing_c07e15f95d6e7dd75c9c853652154326.step1_circum0( ~[?:?] at com.pegarules.generated.activity.ra_action_performpreprocessing_c07e15f95d6e7dd75c9c853652154326.perform( ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity( ~[prprivate.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity( ~[prprivate.jar:?] at com.pegarules.generated.activity.ra_action_processaction_5ec5e672f009fa6b2c7ec03427a5bbc7.step18_circum0( ~[?:?] at com.pegarules.generated.activity.ra_action_processaction_5ec5e672f009fa6b2c7ec03427a5bbc7.perform( ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity( ~[prprivate.jar:?] at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt( ~[prprivate.jar:?]

Steps to Reproduce

  1. Create a layout group tab containing sections that refer the same grid, and with the data page as the source.
  2. In the Presentation tab, select the 'Allow personalization' checkbox.
  3. Disable the 'Refresh when active' option for one of the dynamic layouts.

Root Cause

A defect in Pegasystems’ code or rules

When a layout refresh occurs and if a grid is present in the same section, the State page of the grid is deleted. Hence, the operations that occur on the grid, result in a NullPointerException.

In this use case, multiple dynamic layouts are present in the dynamic layout group, and each dynamic layout has a table. 

All the dynamic layouts, except for one, have a Refresh condition configured. Hence, when the user switches tabs in a dynamic layout group, the State page is deleted because the 'Refresh When' is configured on the dynamic layout. Since, the State page is deleted, NullPointerException occurs.


Perform either of the following local-changes, in the dynamic layout group,
  • Configure all the dynamic layouts with 'Refresh when active' option.
  • Configure all the dynamic layouts such that they do not have the 'Refresh when active' option.
Suggest Edit

Published June 24, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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