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
- Resaving the calling activity to the latest available ruleset,
- Restarting the Nodes after deleting pega temp dir and Pega Extract Marker 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.