Dear Experts,
I 'm getting the below exception in SOAP adapter while I'm encrypting the data by using PGPEncryption module in adapter.
Exception caught by adapter framework: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.adapter.pgp.app, BC-XI-CON-B2B) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.adapter.pgp.ejb.api.PGPEncryptionBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.adapter.pgp.ejb.api.PGPEncryptionBean@1a906533 for bean sap.com/com.sap.aii.adapter.pgp.app*xml|com.sap.aii.adapter.pgp.ejb.jar*xml|PGPEncryption in application sap.com/com.sap.aii.adapter.pgp.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'name';
> Scenario is SFTP to SOAP.
XML file to be picked up ---> Encryption is applied using AES_256 Algo ----> Bank PI server.
Here are the parameters used in channel configuration.
localejbs/PGPEncryption - Local Enterprise Bean
applyCompression - None
applyEncryption - true
applySignature - true
asciiArmored - false
dynamicFileName - FileName
dynamicNamespace - http://sap.com/xi/XI/System/File
encryptionAlgo -AES_256
ownPrivateKey - xxx.asc
partnerPublicKey - xxx.asc
pwdOwnPrivateKey - xxxxxxxxx
signingAlgo - SHA256
I've checked in forum but couldn't find the solution on this issue. Kindly suggest.
Thanks & Regards,
Naresh. K