SAP Knowledge Base Article - Preview

1913864 - PGP Encryption fails with NullPointerException

Symptom

  • You are using a scenario which should use the PGPEncription
  • The PGPEncryption module is used in the receiver channel
  • You checked the receiver channel in the Message Monitor and the message processing failed with the following error:
    • 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 the local variable 'message'

 channel.jpg


Read more...

Environment

  • SAP NetWeaver Process Integration 7.1
  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4

Product

SAP NetWeaver 7.1 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1

Keywords

B2B, SFTP, Invoke method, getMessageKey, Message, Local variable, PGPEncryption, PGPDecryption, Encrypt, NullPointerException, Nested exception, Receiver channel, Interfaces, EJBException, Localjebs, PGP, module, Chain, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31 , KBA , BC-XI-CON-SFT , Secure File Transfer Protocol Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.