Skip to Content
avatar image
Former Member

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

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'

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 23, 2015 at 04:34 PM

    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

    Add comment
    10|10000 characters needed characters exceeded