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

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 6, 2017 - 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