Support Article
UpgradePegaMarketing activity fails with exception in log file
Summary
Exception occurs when running the post-processing step to run the UpgradePegaMarketing activity.
Error Messages
[http-nio-8080-exec-3] [ STANDARD] [ ] [ PM_APP:01.01.01] ( pega.jsr199.Jsr199Bridge) ERROR <your_hostname>|<your_ip> MarketingAdministrator - Failed to compile rule: /com/pegarules/generated/pegamkt_engine_pegamktutilities.java
http-nio-8080-exec-3] [ STANDARD] [ ] [ PM_APP:01.01.01] (ary.LibraryFunctionUtilityImpl) ERROR <your_hostname>|<your_ip> MarketingAdministrator - Error compiling: com/pegarules/generated/pegamkt_engine_pegamktutilities; see class's compile log file.
[http-nio-8080-exec-3] [ STANDARD] [ ] [ PM_APP:01.01.01] ( internal.mgmt.Executable) ERROR <your_hostname>|<your_ip> MarketingAdministrator - Exception
com.pega.pegarules.pub.runtime.LibraryFunctionNotFoundException: Failed to extract 'pegamkt_engine_pegamktutilities'
Furthermore the pegamkt_engine_pegamktutilities.log file contains the following Java errors:
1. ERROR in /com/pegarules/generated/pegamkt_engine_pegamktutilities.java (at line 49)
import com.pega.mkt.offer.ContactPolicyUtils;
The import com.pega.mkt cannot be resolved
2. ERROR in /com/pegarules/generated/pegamkt_engine_pegamktutilities.java (at line 65)
import com.pega.mkt.offer.*;
The import com.pega.mkt cannot be resolved
3. ERROR in /com/pegarules/generated/pegamkt_engine_pegamktutilities.java (at line 126)
private static final Class[] oParamTypes_cdf5ea683722f8df2a747e0b56e33c2d = {PublicAPI.class, String.class, ClipboardPage.class, String.class, String.class, String.class, OfferFlow.class, };
OfferFlow cannot be resolved to a type
Steps to Reproduce
- Update Pega Marketing from 7.21 to 7.31 according to the upgrade guide
- Install HFix-42307 after importing the Marketing upgrade packages
- When running the 'UpgradePegaMarketing' activity, check the upgrade from 7.21 and upgrade from 7.22 check boxes and run the activity
Root Cause
A defect or configuration issue in the operating environment.
The following Dynamic System Setting (DSS) wer missing in the environment:
Pega-Engine • properties/com.pega.pegarules.bootstrap.codeset.version.PegaMKT/default
Pega-Engine • properties/com.pega.pegarules.bootstrap.codeset.version.pegamkt3rdparty/default Errors occurred on committing the last batch as present in the logs for 'PegaMarketing_0731.zip'.
Resolution
Perform the following local-change:
Reimport "PegaMarketing_0731.zip".
Tags:
Published July 23, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.