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

Campaign Distribution Test failing



When running a Distribution test, the campaign fails with error.

Error Messages

On the screen
"Exception in stage: BatchOutPRXXXXXX
Suspend and Update the campaign to resolve this issue. After updating, you can Restart or Skip this run."

In the PegaRULES.log

When opening the problem Data Flow instance in Designer studio->Decisioning->Decisions->Data Flows->Batch Processing, a NullpointerException is thrown as below:

2016-09-01 07:43:24,123 [http-bio-8080-exec-3] [TABTHREAD2] [ AN_APP:01.01.01] (a_Decision_DDF_RunOptions.When) ERROR a_host| an_operator - Exception caught while evaluating when java.lang.NullPointerException
at com.pegarules.generated.pzIsDataFlowUltimatePrimarySourceA_071017_Q_LoGQoB4ZtD2vYbHIRHaQ.pzIsDataFlowUltimatePrimarySourceAbstract07_10_17(
at com.pegarules.generated.pzIsDataFlowUltimatePrimarySourceA_071017_Q_LoGQoB4ZtD2vYbHIRHaQ.invoke(
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.resolveMethodCall(
at com.pega.pegarules.session.internal.mgmt.Executable.resolveMethodCall(
at com.pegarules.generated.when.ra_when_pzultimateprimarysourceisabstractorstream_03c6155c0f0bca2fe2076296eecee9ea.evaluate(
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(

Steps to Reproduce

  1. Create campaign.
  2. Go to Distribution test > Error.

Root Cause

A defect or configuration issue in the operating environment. When tracing the Data Flow opening event through the Designer Studio, an Oracle error of ORA-12899 is capture when the pxLoadProcess activity is invoked. The stacktrace indicates a defined attribute length in the database is too short and causing an insert problem.


Increase the database column attribute length.

Published August 23, 2017 - Updated December 2, 2021

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