Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

No agents running

SA-20161

Summary



On one cluster, no agents are running.


Error Messages



com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No suitable instance found [seeking]  @(Pega-RULES:DateTime).CurrentDateTime() [candidate functions are]     Rule-Utility-Function    Lib(Pega-RULES:DateTime).CurrentDateTime()
    at com.pega.pegarules.priv.FUAUtil.throwUnresolvedAssemblyError(FUAUtil.java:381)
    at com.pegarules.generated.model.ra_model_pydefault_e9e0b1fe683abe4cf3b6c6233651b4b6.model_1(ra_model_pydefault_e9e0b1fe683abe4cf3b6c6233651b4b6.java:458)
    at com.pegarules.generated.model.ra_model_pydefault_e9e0b1fe683abe4cf3b6c6233651b4b6.perform(ra_model_pydefault_e9e0b1fe683abe4cf3b6c6233651b4b6.java:50)
    at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:3895)
    at com.pega.pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:3940)
    at com.pega.pegarules.session.internal.async.AgentRuleUtils.generateDataPage(AgentRuleUtils.java:154)

and


Caused by: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: ** Invalid expression or reference: No suitable instance found [seeking]  @(null:null).PageExists(ClipboardPage,PublicAPI) [candidate functions are]     Rule-Utility-Function    @.PageExists(rulePage,tools)
    at com.pega.pegarules.priv.FUAUtil.activityPreTranIndeterminateConditionalCheck(FUAUtil.java:396)
    at com.pegarules.generated.activity.ra_action_findruledata_955d88e1545fc08c5302ea4b87dc30ae.step4_circum0(ra_action_findruledata_955d88e1545fc08c5302ea4b87dc30ae.java:504)


Steps to Reproduce



Restart the application server.


Root Cause



A defect in Pegasystems’ code or rules.  The system does not guard against attempts to recompile rules which reference Rule-Utility-Functions (RUF) during startup while the Libraries which contain these RUFs are being regenerated.  As a result the referencing Rules fail to compile correctly, resulting in the error.  The error will remain even after the Libraries finish compiling, and even if the Libraries are subsequently recompiled.

Resolution



Perform the following local-change: Resave the referencing rules.  This will force recompilation of the rules.  As the Libraries are now completed regenerating, the RUF references will be successful.

 

Suggest Edit

Published February 27, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us