Close popover
Daria Mamaeva (DariaShalom)
Plekhanov Russian University of Economics

Plekhanov Russian University of Economics
DariaShalom Member since 2019 11 posts
Plekhanov Russian University of Economics
Posted: June 27, 2020
Last activity: June 29, 2020

java.lang.NullPointerException in Page-Copy method


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***


Pega Platform User Experience