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 August 25, 2016 - Updated September 2, 2016

Have a question? Get answers now.

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