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

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

  1. Create  a section
  2. Drag repeat grid in the section
  3. Provide Report definition as source to the repeat grid
  4. Drag properties from  Report definition class to the grid  including property referring to Data Page.
  5. run the flow and progress until section is loaded. 
  6. Section will not render due to property Refer to data page is not getting created as report definition loaded .
  7. 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

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