Question
LANIT JSC
RU
Last activity: 7 Apr 2017 23:40 EDT
System not able to find Function in one of the environments (com.pega.pegarules.pub.generator.UnresolvedAssemblyError , InvalidExpression, No candidates found)
On production system (PRPC 7.1.8) we have some problem:
"com.pega.pegarules.pub.PRAppRuntimeException: The flow SendToCreditDepartment had a problem on step Integrator2 of: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: ** 2001449583§EscapeSpecSymbols§PegaEL-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 = ECM-FileNetComponent library = FileNetComponent functionName = EscapeSpecSymbols parameters = [ Item: param.PackageName Pega type = text Java data type = String] @(ECM-FileNetComponent:FileNetComponent).EscapeSpecSymbols(param.PackageName)
From: (B1208A77259A79BBE63E2E6FA8D46E96F) "
The error was cleared by performing a Revalidate and Save of the rule where the function was referenced.
Also, we were given an official response from Pegasystems, this is a bug in the engine, and they gave us a hotfix (HFix-25979) that we do not encounter this problem in the future.
This problem occurs accidentally and is uncertain.
Related links to this problem:
On production system (PRPC 7.1.8) we have some problem:
"com.pega.pegarules.pub.PRAppRuntimeException: The flow SendToCreditDepartment had a problem on step Integrator2 of: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: ** 2001449583§EscapeSpecSymbols§PegaEL-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 = ECM-FileNetComponent library = FileNetComponent functionName = EscapeSpecSymbols parameters = [ Item: param.PackageName Pega type = text Java data type = String] @(ECM-FileNetComponent:FileNetComponent).EscapeSpecSymbols(param.PackageName)
From: (B1208A77259A79BBE63E2E6FA8D46E96F) "
The error was cleared by performing a Revalidate and Save of the rule where the function was referenced.
Also, we were given an official response from Pegasystems, this is a bug in the engine, and they gave us a hotfix (HFix-25979) that we do not encounter this problem in the future.
This problem occurs accidentally and is uncertain.
Related links to this problem:
- https://community.pega.com/support/support-articles/unable-find-function-after-upgrade-pega-718
- https://pdn.pega.com/forums/system-operations/system-not-able-find-function-one-environments
Met you are such a problem? What helped you solve it?
On request SR I was told that this error error caused by assembly caching problem. But at the same time the hotfix to help us to avoid similar error in the future, in other circumstances (where the Function name signatures not normalized correctly).
Try "Revalidate and Save" first!
Thanks!