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 candidates found" error for an available function

SA-11835

Summary



“No candidates found” error is seen for an available custom function


Error Messages



** 50993253§<functionName>§PegaEL-InvalidExpression No candidates found [possible function name, ruleset/version or number of parameter problem] for Rule-Utility-Function in ruleset list <null> @(<ruleset name>:<custom library name>).<function name>(function arguments….)

and

2015-07-05 15:14:35,363 [fault (self-tuning)'] [TABTHREAD1] [ ] [XXXX_XXXX:01.01.01] (nerated.xxxx_xxxxx) ERROR xx.xx.xxx.xxx|l65016961.xx.xxxxxxx.xxx xxxxxxxx - ------HTTP Post request Exception:------javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Steps to Reproduce


on the workobject, click on the 'send to manger' flowaction link to invoke the function.

Root Cause



The root cause of this problem is defect/misconfiguration in the operating environment.

There were library compilation errors in the startup part of the logs,
After fixing the function issue we saw another error “javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated”. This issues normally arise when correct certificates are not imported on to the JVM’s truststore.

Resolution



This issue is resolved through the following local change:


The library compilation errors was resolved by
  1. Resaving the calling activity to the latest available ruleset,
  2. Restarting the Nodes after deleting pega temp dir and Pega Extract Marker file.
     
The “javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated” error was resolved by copying the correct cacerts keystore and setting the following JAVA_OPTIONS variable in setDomainEnv.bat file
 
set JAVA_OPTIONS=%JAVA_OPTIONS% -Djavax.net.ssl.keyStore=<<Keystorepath>> -Djavax.net.ssl.keyStorePassword=<<password>> -Djavax.net.ssl.trustStore=<<truststorecertpath>> -Djavax.net.ssl.trustStorePassword=<<truststore password>>

 

Published July 6, 2015 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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