Support Article
Issue with upgrading application from PRPC 6.3 to Pega 8.1.4
Summary
Upgradation of a Pega application from PRPC 6.3 to Pega 8.1.4 fails during the rules schema upgrade.
Error Messages
[java]161 [main][] [] [] (hive.importer.AppBundleHandler) INFO - Started import of rule-file-text.zip (117 of 196)
[java] 182 [main][] [] [] (y.internal.PRRuleMgmtUtilsImpl) INFO - rule-file-text.zip is v6 Archive
[java] 122 [main][] [] [] (internal.loaders.FastLoader) INFO - Performing Fast Deployment with Batch Enabled: true
[java] 166 [main][] [] [] (internal.util.MoveLog) INFO - Processed 2641 of 2641 (100.00%): 1 committed, 2640 skipped, 0 errors, 0 seconds remaining
[java] 188 [main][] [] [] (internal.util.MoveLog) INFO - Total Time (ms): 117
[java] 188 [main][] [] [] (internal.util.MoveLog) INFO - Read Time (ms): 0
[java] 188 [main][] [] [] (internal.util.MoveLog) INFO - Operation Status: Completed Importing 1 of 1
[java] [SHUTDOWN]-----LogManager.shutdown()
[java] hasShutDowntrue
[java] pega.pegarules.internal.bootstrap.PRBootstrap
[java] SEVERE: Problem during method invocation (main)
[java] pega.pegarules.pub.PRException: java.lang.IllegalArgumentException: Invalid ruleset version null
Steps to Reproduce
Run upgrade of rules schema from PRPC 6.3 to Pega 8.1.4
Root Cause
A defect in Pegasystems’ code or rules. The rule-file-text instances which do not have a ruleset version set are present.
Resolution
Perform the following local-change:
- Identify and remove rules which have a null pyrulesetversion from the pr4_rule_file table. Readd the rules after the upgrade if they are required
- Delete .PR4_RULE_FILE where pyrulesetversion=null from the rules
- Resume the upgrade
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.