cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NullPointerException while using PGP module in SFTP receiver

0 Kudos

Hi Experts,

We are trying out newly installed PGP module on SAP PI 711 SP10.

Scenario     : SFTP to SFTP

While we are trying to encrypt the message in the SFTP receiver, we get the following error.

nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/com.sap.aii.af.app, BC-XI-CON-AFW) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.af.app.endpoint.ModuleProcessorExitBean.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.af.app.endpoint.ModuleProcessorExitBean@6437822b for bean sap.com/com.sap.aii.af.app*xml|com.sap.aii.af.ejb.jar*xml|ModuleProcessorExitBean in application sap.com/com.sap.aii.af.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageKey() of an object loaded from local variable 'msMessage'

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

Did you manually add the "callsapadapter" module in the module chain?? If so remove it.

Try creating a new channel and see if the callsapadapter get's added automatically?

I believe it should be PGP and then moduleprocessorexit bean

0 Kudos

Thanks Hareesh,

ya that  "callsapadapter"  was the culprit. It comes by itself, Once I removed that PGP was working fine.

Answers (0)