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
- Configure a repeating grid with source as report definition which lists the cases of child work objects for a particular parent.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.