Support Article

UnresolvedAssemblyErrors shut down agents

SA-71856

Summary



After skimming and migrating a set of rulesets, agents encounter UnresolvedAssemblyErrors and shut down.


Error Messages



Batch activity "<Your_Activity>" threw:
com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem] 
at com.pega.pegarules.priv.FUAUtil.throwUnresolvedAssemblyError(FUAUtil.java:423)

ERROR   - Agent [<Your_Agent>] activity [<Your_Activity>] queue number [] disabled due to execution errors ErrorMsg: ** <Your_Function> -InvalidExpression 
No candidates found [possible function name, ruleset/version or number of parameter problem]     for Rule-Utility-Function in ruleset list <null> expected since isEditing is false ruleset = <Your_Ruleset> library = <Your_Library> functionName = <Your_Function> parameters = [ ]



Steps to Reproduce



Migrate the skimmed  rules.


Root Cause



A defect or configuration issue in the operating environment.
The function in the error messages did not compile correctly. This resulted in an error which had to display when the First Use Assembly (FUA) of the migrated rules ran. Hence, the agents shut down.


Resolution



Perform the following local-change:

Revalidate and save the function (in question).

Published January 22, 2019 — Updated April 12, 2019

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.