Symptom
You are using Process Integration (PI) or Process Orchestration (PO) and you have added the MessageTransformBean Module to a Communication Channel module chain:
(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 com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.af.modules.trans.MessageTransformBean.process
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: sap.com/com.sap.aii.af.mod.trans.app, BC-XI-CON-AFW-MP) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.af.modules.trans.MessageTransformBean.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.modules.trans.MessageTransformBean@4e92448c for bean sap.com/com.sap.aii.af.mod.trans.app*xml|com.sap.aii.af.mod.trans.ejb.jar*xml|MessageTransformBean in application sap.com/com.sap.aii.af.mod.trans.app.; 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: sap.com/com.sap.aii.af.mod.trans.app, 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 com.sap.aii.af.modules.trans.MessageTransformBean.process(MessageTransformBean.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
... 91 more
Read more...
Environment
- PI Release Independent
- SAP NetWeaver
- SAP Process Integration
Product
Keywords
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.