Support Article
Property Refer data page issue in report definition
SA-27216
Summary
Section is not rendering when Repeat Grid with source as Report Definition is present. One of the property referred in Row repeat is referring to DataPage.
Property Refer data page issue in report definition. Property refer to data page is not getting calling for pages in report definition .
Error Messages
Caused by: com.pega.pegarules.pub.PRRuntimeException: Error including section 'Gridsection' on page 'pyWorkPage' of class 'Gcs-GCSAppli-Work-CreateSR'.
at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream(AutoStreamRuleRuntime.java:158)
at com.pegarules.generated.flowaction.ra_stream_fa1_b73753bc0bee5a4d7f73583cfe2d6b4a.includeSectionBody_1(ra_stream_fa1_b73753bc0bee5a4d7f73583cfe2d6b4a.java:239)
at com.pegarules.generated.flowaction.ra_stream_fa1_b73753bc0bee5a4d7f73583cfe2d6b4a.execute(ra_stream_fa1_b73753bc0bee5a4d7f73583cfe2d6b4a.java:134)
... 127 more
Caused by: java.lang.NullPointerException
at com.pegarules.generated.html_section.ra_stream_gridsection_a5e11529586e9f287311abe135fa5ef5.execute(ra_stream_gridsection_a5e11529586e9f287311abe135fa5ef5.java:114)
at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4060)
at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream(AutoStreamRuleRuntime.java:149)
Steps to Reproduce
- Create a section
- Drag repeat grid in the section
- Provide Report definition as source to the repeat grid
- Drag properties from Report definition class to the grid including property referring to Data Page.
- run the flow and progress until section is loaded.
- Section will not render due to property Refer to data page is not getting created as report definition loaded .
- Section renders properly if property refers to the data page is removed from grid.
configuration screen shot.
Root Cause
An issue in the custom application code or rules : Property referring to the Datapage is not included in the report definition.
Resolution
Local Change: Section rendered properly after adding Data page property in the report definition so that the autopopulation happens in the same context
Published September 3, 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.