NPE thrown after calling remove post upgrade
SummaryUser 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();
Steps to ReproduceThe steps to reproduce the issue is not known.
Root CauseDuring 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.
Published June 13, 2017 - Updated July 31, 2017