Support Article
NullPointerException while importing RAP file after PRPC upgrade
SA-6200
Summary
After upgrade from PRPC 5.5 SP1 to PRPC 6.3 SP1, an UnresolvedAssemblyError occurs while trying to import a Rule-Admin-Product(RAP) file.
Error Messages
Error: At UI” ProblemFlow pxImport com.pega.pegarules.pub.generator.UnresolvedAssemblyError: ** No code generated for expression”
2015-02-06 15:37:09,780 [ WebContainer : 4] [ent-Import] [your_ruleset] (Accel_Management_Import.Action) ERROR your_server |127.0.0.1 your_Operator - Unable to persist import selections -- check logs for details.
java.lang.NullPointerException
at com.pegarules.generated.activity.ra_action_pxupdateinventoryselections_16b95489716be2e65b5c2a246ead2c02.step1_circum0(ra_action_pxupdateinventoryselections_16b95489716be2e65b5c2a246ead2c02.java:214)
at com.pegarules.generated.activity.ra_action_pxupdateinventoryselections_16b95489716be2e65b5c2a246ead2c02.perform(ra_action_pxupdateinventoryselections_16b95489716be2e65b5c2a246ead2c02.java:72)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3054)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:617)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:584)
Steps to Reproduce
Import the RAP file after upgrading to PRPC 6.3 SP1.
Root Cause
When upgrading from PRPC 5.5 SP1 to PRPC 6.3 SP1, the records of cache tables in database were not purged.
Resolution
Clear the cache tables in the database.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.