SAP Knowledge Base Article - Preview

2519864 - MessageTransformBean is raising NullPointerException


You are using Process Integration (PI) or Process Orchestration (PO) and you have added the MessageTransformBean Module to a Communication Channel module chain:

Module Processing.PNG

(in the example image above it is a SOAP Sender communication channel)

While processing a message through the above Communication Channel, the following error is being thrown:

Exception raised from invocation of public

In the default traces or XPI Inspector traces the following error can be found:

Exception caught by adapter framework: ASJ.ejb.005043 (Failed in component:, BC-XI-CON-AFW-MP) Exception raised from invocation of public, throws method on bean instance for bean*xml|*xml|MessageTransformBean in application; nested exception is: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of a null object loaded from local variable 'data'; nested exception is: javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component:, BC-XI-CON-AFW-MP)
Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of a null object loaded from local variable 'data'
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
... 91 more



  • PI Release Independent
  • SAP NetWeaver
  • SAP Process Integration


SAP NetWeaver 7.0 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0


CallSapAdapter, XISOAPAdapterBean, RESTAdapterBean, Module, NullPointerException, data, 005043, ModuleData, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, 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, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI, Module, ModuleProcessor
, KBA , BC-XI-CON-AFW-MP , Module Processor , BC-XI-CON-AFW , J2EE Adapter Framework , BC-XI-CON-MSG , Messaging System , 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.