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

NullPointerException when data page is passed a parameter

SA-20313

Summary



A page from a data page was passed as a "page name" parameter to an activity. A property value was set on that page using Property-Set. Null pointer exception was observed when the activity was executed.

Error Messages



Not Applicable

Steps to Reproduce



1. Create a Node-Level data page.
2. Create an activity which accepts a Page Name parameter.
3. Set Page Name parameter to data page name.
4. Execute Property-Set referencing page name parameter.

Root Cause



The parameterized syntax of data page name D_DataType[p1=v1] is supported only in few controls like data transform's action source and target, and so on. The syntax is supported wherever expression builder is supported. So, parameter prompt text input in activity run rule dialog does not support it.

Resolution



Set the required parameter(s) of the data page before referring to the data page.

Published March 1, 2016 - 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