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

NPE thrown after calling remove post upgrade

SA-39325

Summary



User mentioned that their application was recently upgraded from Pega 7.1.9 to Pega 7.2.2.

The java step containing the code below was working fine in Pega 7.1.9, post-upgrade it is now throwing a NullPointerException:

String CurrPageRef = tools.getStepPage().getReference();
tools.getStepPage().remove(CurrPageRef);


Error Messages



NullPointerException


Steps to Reproduce



The steps to reproduce the issue is not known.


Root Cause



During copy when user validates the back link of a property, user is assuming that the forward link of the cached reference property which is referring to this property always has the reference link. In User scenario the link is broken causing NPE.

Resolution



Apply HFix-35008.

Published August 1, 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