Posted: 23 Dec 2019 8:19 EST Last activity: 24 Dec 2019 2:25 EST
Nullpointerexception on worklist widget
In our test environment, a nullpointerexception occurs when clicking next page/filtering in worklist widget table after selecting a work queue. Error is on the step 1 of pzdogridaction activity. What could be the possible defect ?
I tried the usecase in my local, and could see the issue happening. On further debugging, below is the analysis:
On selecting the workqueue, in both “Team worklist” and “Worklist” Gadgets two different tables are displayed on screen. The source of these two tables is the same datapage with different parameters, which is D_WorkBasket.
However, this DataPage is configured to refresh once per each interaction and to limit single data Page.
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 params change old data page is deleted and a new DP(hash of DP changes) with fresh list is loaded. Due to this when two tables access same DP then there is a possibility that the DP with which layout renders is deleted from clipboard.
Solution: Modify the data page setting with any of above option unselected, I would suggest unchecking limit to single page which will create two different pages for two tables as per the parameters passed.