Question

Plekhanov Russian University of Economics
RU
Last activity: 2 Aug 2021 11:32 EDT
java.lang.NullPointerException in Page-Copy method
Hi,
I'm doing Obj-Open-By-Handle, as step page - TmpPage which is defined in Pages&Classes
After that I'm doing Page-Copy from TmpPage into TmpPage2.pxResults(<APPEND>) (also tried to leave CopyFrom blank and use TmpPage as Step Page)
Finally, remove TmpPage
TmpPage and TmpPage2.pxResults are the same class.
In Tracer at Obj-Open-By-Handle step Primary page contains necessary data but when activity reaches Page-Copy step I'm getting fail:
** Java Exception: java.lang.NullPointerException
***Edited by Moderator: Pallavi to move from Pega Academy to Product, update platform capability tags***