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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.