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

NullPointerException on pzGetLockingMode

SA-41777

Summary



After upgrading to Pega 7.2.1, the Open Assignment action with .pzInsKey, configured in the actions of the repeating grid, does not work and NullPointerException occurs when opening a work object from a worklist. The grid is configured to list all the child cases that correspond to the parent.


Error Messages





java.lang.NullPointerException
at com.pega.pegarules.pub.util.HashStringMap.putString(HashStringMap.java:165)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674)
.
.
.
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)


Steps to Reproduce

  1. Configure a repeating grid with source as report definition which lists the cases of child work objects for a particular parent.
  2. Configure the Open Assignment action with .pzInsKey as parameter in the actions tab of grid.


Root Cause

A defect in Pegasystems’ code or rules.

During runtime, the object class for a top level case in pxGetTopLevelCoverKeyAndClass cannot be retrieved and hence the pzgetlockingmode activity failed.


Resolution

Apply HFix-36321 to add a null check for the top level case.


Published October 24, 2017 - Updated October 8, 2020

Was this useful?

100% 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