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

Null pointer exception while creating RAP export



When attempting to create an export archive from a RAP, an error indicating null (NullPointerException) is encountered.

Error Messages

(In PegaRULES logfile):
2017-03-06 15:21:57,400 [ PegaRULES-Batch-4] [ STANDARD] [ ] [your_app:01.01.01] (File.Rule_Admin_Product.Action) ERROR your_user - ExportZipFile: Encountered the following error: null

(In application server logfile):
at com.pega.pegarules.priv.rulemgmt.ABVRulesetContext.<init>(
at com.pega.pegarules.deploy.internal.PRRuleMgmtUtilsImpl.getABVRuleSetAppContext(
at com.pega.pegarules.deploy.internal.PRRuleMgmtUtilsImpl.updateABVRulesetAppContext(
at com.pegarules.generated.activity.ra_action_createzipfile_c493da1a635ebb094928fe3658ef2140.step9_circum0(
at com.pegarules.generated.activity.ra_action_createzipfile_c493da1a635ebb094928fe3658ef2140.perform(

Steps to Reproduce

Attempt to create an export file from a RAP record.

Root Cause

A defect in Pegasystems’ code or rules: This issue occurs when one or more of the rulesets referenced on the RAP record refer to a ruleset that utilizes application validation but does NOT have the application context information properly validated on the RAP record (the field is blank).


Perform the following local-change: Revalidate all the ruleset references on the RAP record to ensure they have proper application context references. It may also be necessary to resave some of the rulesets referenced to ensure the application context references are valid.

Published March 10, 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