Support Article
Data load through a data page is giving error
SA-40076
Summary
Auto Complete results are getting populated on scroll with Pega 7.2.1.
Error Messages
Exception
java.lang.NullPointerException
at com.pegarules.generated.activity.ra_action_pzdogridaction_84f3e7348d7bf2bad1ec28065f8afa87.step1_circum0(ra_action_pzdogridaction_84f3e7348d7bf2bad1ec28065f8afa87.java:354)
Steps to Reproduce
1. Create a Report Definition.
2. Configure autocomplete with datapage, which includes report definition with huge results.
3. On Auto complete on click of down arrow, autocomplete results with scroll bar appears.
4. On Scrolling the autocomplete results an exception will be logged when system is unable to fetch the results.
Root Cause
As identified, issue is in Data page, refresh strategy and page limits are not checked.
Resolution
When "Reload once per interaction" is checked then when Data Page(DP) is referred, then it loads the DP again due to this while filtering or sorting list is loaded fresh and functionality breaks.
When "Limit to single data page" is checked then whenever parameters change old data page is deleted and a new DP(hash of DP changes) with fresh list is loaded.
Due to this when two repeat layout access same DP then there is a possibility that the DP with which layout renders is deleted from clipboard.
Hence local-change is to not use these configurations with DP bound to grid.
Published September 5, 2017 - 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.