Page name parameter giving nullpointer exception in called activity
Hi all,
I have 2 activities called Parent, Child. In Parent activity I have clipboard page with name OperatorPage which contains logged in operator's information. I wanted to use this clipboard page in Child activity. How can we do this?
Process I followed as mentioned in Pega help (link mentioned below)
https://community.pega.com/sites/default/files/help_v73/methods/call/tsk_call_changecontext.htm
1) In child activity param tab declared param name (prmOperatorPage) of type Page and also in Pages & classes declared class for the page name
2) In Parent page while calling the child activity I passed the OperatorPage as parameter.
3) In child activity when I try to log getXMLOfPage(prmOperatorPage)
I am getting nullpointer exception. that means the OperatorPage is not passing from Parent to child.
Can someone please help me whats wrong I am doing here
Thanks
Sahhul