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

Section execution error while activating virtual grid

SA-48646

Summary



Section execution error occurs while activating a virtual grid.


Error Messages



250 [ttp-nio-9080-exec-23] [TABTHREAD0] [ ] ( internal.mgmt.Executable) ERROR - Exception
com.pega.pegarules.pub.PRRuntimeException: Section 'pzTrackerChanges' execution error. : caught exception while expanding property pxResults on page ABCPage
at com.pegarules.generated.html.ra_stream_pztrackerchanges_c71639b44560d6ee9e53cf71f878c70e.execute(ra_stream_pztrackerchanges_c71639b44560d6ee9e53cf71f878c70e.java:112) ~[?:?]

Caused by: com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference .pzInsKey is not valid. Reason: .pzInsKey is mapped to class A-B-C, which is not the primary class of the list: -; must specify a group name in mapping
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.adoptVirtualPageList(ClipboardPropertyImpl.java:6592) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.adoptListStreamToVirtualList(ClipboardPropertyImpl.java:8067) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.DirectStreamContainerV7.expandToProperty(DirectStreamContainerV7.java:807) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.expand(ClipboardPageImpl.java:1133) ~[prprivate.jar:?]
at...



Steps to Reproduce

  1. Configure a section with a virtual report definition.
  2. Passivate the grid for some time.
  3. Click the grid after 30 minutes (default).


Root Cause



At runtime, the virtual report definition did not populate the pyObjClass on the Code-Pega-List. Hence, InvalidReferenceException occurs while activating the passivated page. A custom load activity is used in the virtual report definition which is configured in the section. This load activity populates the results. However, its property which populates the pyObjClass (on the top level page) is missing in the configuration.


Resolution



As a local-change include the below code in the custom load activity to populate the pyObjClass and its value: ClipboardPage searchresultpage = tools.findPage("ABCPage");
searchresultpage.putString("pyObjClass","A-B-C");


Note: The pyObjClass property value on the ABCPage must be of the same class defined in the pyClassName property in the pyMappings list of the top level page (ABCPage).


Suggest Edit

Published March 30, 2018 - Updated October 8, 2020

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