Support Article
Reopening work object generates a null pointer exception
Summary
Reopening a work object through bulk processing by using the Reopen activity results in a null pointer exception.
Error Messages
Section 'pzBulkProcessingList' execution error on page 'pyBulkProcessReport' of class 'Code-Pega-List'. : null
Steps to Reproduce
Run the out of the box Bulk action and reopen the work object in bulk processing.Root Cause
A defect in Pegasystems’ code or rules. There is an issue in pzBulkProcessingList for handling null pointer errors.
During reopening of a work object through bulk processing by using the Reopen activity, while loading the harness, the pzBulkProcessItemsInHarness activity is referred which refers the pzBulkProcessingList HTML stream.
In the HTML stream, the below code is not populated with all the values from the parameter page. Some of the parameter keys contain value on parameter page but this code returns them as null.
String strParamValue = paramPage.getString(strParamName);
As strParamvalue is null, below code throws a null pointer exception.
anchorHref+="&" + strParamName + "=" + pega_rules_utilities.encodeURLParameter(StringUtils.crossScriptingFilter(strParamValue));
Resolution
Apply HFix-35058
Published August 14, 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.