Support Article

Calculation builder for segment criteria produces error

SA-37448

Summary



When adding a function to the segment criteria with the non-visual method in the calculation builder we are facing this error:

The Flow Action post-processing activity pzReportsCalculationBuilderPost failed: java.lang.NullPointerException


Error Messages



The Flow Action post-processing activity pzReportsCalculationBuilderPost failed: java.lang.NullPointerException


Steps to Reproduce

  1. In the Marketing Portal go to Audiences and create a new segment.
  2. Turn the active visualization off in order to use the list method.
  3. Add a filter condition and select function (fx) for the column source.
  4. Add a function and a source (for example "The year number of [Date to be converted]" as function and the DOB as source).
  5. Click submit and you will see the error.


Root Cause



Change string comparisons against Rule-Obj-Report-Definition was startsWith() in determineReportPage() in Report.java where as the correct function would be equals().

Resolution



Apply HFix-34005.

Published May 4, 2017 - Updated May 5, 2017

Have a question? Get answers now.

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