Encrypt Error in 5.2.6 Hub

Hi @AnotherFraudUser,

I am facing this issue on KNIME Hub 5.2.6 executor, as shown in the screenshot. Can you please suggest what I am doing wrong?

(The workflow is built on 5.2.5 and is working on AP)

1 Like

Hi @prashant7526,
I think here I would need more info.
Do you have anything else in the KNIME log?

I wonder if it works on the local Knime if there is something with the path :thinking:
Would you be able to provide an example workflow? (with dummy data)

Hi @AnotherFraudUser
After fxing the path i get below exception:

2025-04-16 15:19:37,118 : DEBUG : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : WorkflowManager                : 10:1541 : PGP Encrypt 10:1541 doBeforePreExecution
2025-04-16 15:19:37,118 : DEBUG : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : NodeContainer                  : 10:1541 : PGP Encrypt 10:1541 has new state: PREEXECUTE
2025-04-16 15:19:37,119 : DEBUG : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : WorkflowDataRepository         : 10:1541 : Adding handler 0b2753b9-6390-4120-927d-f473790c93d2 (PGP Encrypt 10:1541: <no directory>) - 204 in total
2025-04-16 15:19:37,119 : DEBUG : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : WorkflowManager                : 10:1541 : PGP Encrypt 10:1541 doBeforeExecution
2025-04-16 15:19:37,119 : DEBUG : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : NodeContainer                  : 10:1541 : PGP Encrypt 10:1541 has new state: EXECUTING
2025-04-16 15:19:37,120 : DEBUG : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : LocalNodeExecutionJob          : 10:1541 : PGP Encrypt 10:1541 Start execute
2025-04-16 15:19:37,120 : INFO  : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : PGPEncryptorNodeModel          : 10:1541 : Start encrypting file
2025-04-16 15:19:37,147 : DEBUG : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : Node                           : 10:1541 : reset
2025-04-16 15:19:37,147 : ERROR : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : Node                           : 10:1541 : Execution failed in Try-Catch block: Could not initialize class org.bouncycastle.openpgp.PGPUtil
2025-04-16 15:19:37,147 : INFO  : KNIME-Worker-885-PGP Encrypt 10:1541 : [059149d3-0541-48ce-b71e-19911f843992:02|52a61e21-e08e-4d79-97bb-5f93efd2e292] : LocalNodeExecutionJob          : 10:1541 : PGP Encrypt 10:1541 End execute (0 secs)

Hi @AnotherFraudUser ,

Please can you check and advise?

Hi @prashant7526,

What is the AF Utils version on the executor?
Looks like the issue which was fixed shortly after last release :thinking:
Could you check if the executor is using the latest version?

On the HUB the executer version is: 5.2.6-758

Hi @prashant7526,

What I mean if the executor has the latest version of the AF Utils / what version of AF utility the executor is using :slight_smile: