Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Reopening work object generates a null pointer exception

SA-39485

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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us