meddhiakassab opened a new issue, #4621:
URL: https://github.com/apache/hop/issues/4621

   ### Apache Hop version?
   
   2.10
   
   ### Java version?
   
   21
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   
   
   I’m about to use the GPG encryption transform. I imported the public key but 
am unsure about the field name, so I just used the email address as the key 
name. However, when executing the pipeline, I always encounter an exception in 
the logs.
   
   ### *I noticed that the script is calling the decryption constructor, but it 
should not be doing that.*
   
   
![image](https://github.com/user-attachments/assets/5dc29369-d39a-4ccd-8b27-46393680fac2)
   
   
![image](https://github.com/user-attachments/assets/af6f697c-f7ef-44a7-b7b7-789c06cfca7a)
   
   
   ```
   2024/11/25 14:37:06 - crypto -  Pipeline is about to allocate transform [PGP 
encrypt stream] of type [PGPEncryptStream]
   Exception in thread "Thread-13" java.lang.RuntimeException: Error create 
instance of transform: 
org.apache.hop.pipeline.transforms.pgpencryptstream.PGPEncryptStreamMeta
           at 
org.apache.hop.pipeline.transform.BaseTransformMeta.createTransform(BaseTransformMeta.java:118)
           at 
org.apache.hop.pipeline.Pipeline.prepareExecution(Pipeline.java:826)
           at 
org.apache.hop.pipeline.engines.local.LocalPipelineEngine.prepareExecution(LocalPipelineEngine.java:231)
           at 
org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.lambda$preparePipeline$15(HopGuiPipelineGraph.java:4530)
           at java.base/java.lang.Thread.run(Thread.java:1575)
   Caused by: java.lang.NoSuchMethodException: 
org.apache.hop.pipeline.transforms.pgpdecryptstream.PGPDecryptStream.<init>(org.apache.hop.pipeline.transform.TransformMeta,org.apache.hop.pipeline.transforms.pgpencryptstream.PGPEncryptStreamMeta,org.apache.hop.pipeline.transforms.pgpencryptstream.PGPEncryptStreamData,int,org.apache.hop.pipeline.PipelineMeta,org.apache.hop.pipeline.Pipeline)
           at java.base/java.lang.Class.getConstructor0(Class.java:3833)
           at java.base/java.lang.Class.getConstructor(Class.java:2501)
           at 
org.apache.hop.pipeline.transform.BaseTransformMeta.createTransform(BaseTransformMeta.java:105)
           ... 4 more
   ```
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Gui


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to