Support Article

Data Transform ruleform throws NullPointerException

SA-25356

Summary



While editing a data transform, if there is a "For Each Page" step with a "When" child step and a "Set" grandchild step, if "Also use each page as source context" is checked on the "For Each Page" step, the expression builder for the "Set" does not launch when initially clicked.

Clicking to another tab in the Designer Studio and then back to the data transform allows the Expression Builder to launch.

​Once launched, it will not have the source value populated. Submitting, closing, or canceling the modal (regardless of whether or not any changes were made) will result in a popup that displays a NullPointerException.


Error Messages



NullPointerException in SafeURL.put(key, value) {target}{undefined}


Steps to Reproduce

  1. Configure a data transform with a set of steps similar to: 
    • 1 - For Each Page 
    • 1.1 - When 
    • 1.1.1 - Set 
  2. Attempt to open the Expression Builder for step 1.1.1.
  3. When it fails to launch, click to another tab in the Designer Studio.
  4. Click back to the data transform tab. The modal will launch. 
  5. Attempt to submit, close, or cancel the modal. This will throw a NullPointerException


Root Cause



A defect in Pegasystems’ code or rules that results in the modal window not launching properly.

Resolution



Apply HFix-28399.

Published July 7, 2016 - Updated July 21, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.