Support Article

Property Refer data page issue in report definition



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: Error including section 'Gridsection' on page 'pyWorkPage' of  class 'Gcs-GCSAppli-Work-CreateSR'. 
	at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream( 
	at com.pegarules.generated.flowaction.ra_stream_fa1_b73753bc0bee5a4d7f73583cfe2d6b4a.includeSectionBody_1( 
	at com.pegarules.generated.flowaction.ra_stream_fa1_b73753bc0bee5a4d7f73583cfe2d6b4a.execute( 
	... 127 more 
Caused by: java.lang.NullPointerException 
	at com.pegarules.generated.html_section.ra_stream_gridsection_a5e11529586e9f287311abe135fa5ef5.execute( 
	at com.pega.pegarules.session.internal.mgmt.Executable.getStream( 
	at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream( 

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.


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.