cancel
Showing results for 
Search instead for 
Did you mean: 

Error exception return from pipeline processing!

Former Member
0 Kudos

when an iddoc from sap ecc it is sent to the server IP to revise SXMB_MONI transaction is received iddoc, trying to process it sends me a message saying, Error return from exception processing pipeline! and I get this error

<? xml version = "1.0" encoding = "UTF-8" standalone = "yes"?>

- <! - Request Message Mapping

->

- <SAP: Error SOAP: mustUnderstand = "" xmlns: SAP = "http://sap.com/xi/XI/Message/30" xmlns: SOAP = "http://schemas.xmlsoap.org/soap/envelope / ">

<SAP:Category> Application </ SAP: Category>

Area="MAPPING"> <SAP:Code STREAM_TRANSFORMATION_EX </ SAP: Code>

<SAP:P1> mx/com/sap/cfd/mapping/JMapping71 </ SAP: P1>

Trying <SAP:P2> class java.lang.NullPointerException while ~ </ SAP: P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

StreamTransformationException <SAP:Stack> mapping application program triggered by mx/com/sap/cfd/mapping/JMapping71; class java.lang.NullPointerException while Trying ~ </ SAP: Stack>

<SAP:Retry> M </ SAP: Retry>

</ SAP: Error>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

looks like your java mapping used is having some error ...

check the mapping code ..

Regards

Rajesh

Former Member
0 Kudos

i do double ckeck the source and the idoc and i continue with the problem, this is the error.

<Trace level="2" type="T">......attachment XI_Context not found</Trace>

<Trace level="3" type="T">Append context with name =SNDPOR and value =SAPDEV</Trace>

<Trace level="3" type="T">Append context with name =SNDPRN and value =DEV600</Trace>

<Trace level="3" type="T">Append context with name =SNDPRT and value =LS</Trace>

<Trace level="3" type="T">Append context with name =RCVPOR and value =DIMX_NPI</Trace>

<Trace level="3" type="T">Append context with name =RCVPRN and value =0000010000</Trace>

<Trace level="3" type="T">Append context with name =RCVPRT and value =KU</Trace>

<Trace level="3" type="T">Append context with name =RCVPFC and value =RE</Trace>

<Trace level="3" type="T">Append context with name =MESTYP and value =INVOIC</Trace>

<Trace level="3" type="T">Append context with name =MESCOD and value =FI</Trace>

<Trace level="3" type="T">Append context with name =IDOCTYP and value =INVOIC02</Trace>

<Trace level="3" type="T">Append context with name =CIMTYP and value =ZINVOIC02</Trace>

<Trace level="3" type="T">Append context with name =CALLER_CODEPAGE and value =4103</Trace>

<Trace level="3" type="T">Mapping already defined in interface determination</Trace>

<Trace level="3" type="T">Object ID of Interface Mapping 17F515CC21B439BA8EAD77EA666ACE3A</Trace>

<Trace level="3" type="T">Version ID of Interface Mapping 4603DDD01E8F11E0CFCDF2BEAC13801D</Trace>

<Trace level="1" type="T">Interface Mapping http://www.sat.gob.mx/cfd/2 OM_CFD</Trace>

<Trace level="3" type="T">Mapping Steps 1 JAVA_JDK mx/com/sap/cfd/mapping/JMapping71</Trace>

<Trace level="3" type="T">MTOM Attachments are Transferred to the Payload</Trace>

<Trace level="3" type="T">Dynamic Configuration ( http://sap.com/xi/XI/System/IDoc SNDPOR SAPDEV ) ( http://sap.com/xi/XI/System/IDoc SNDPRN DEV600 ) ( http://sap.com/xi/XI/System/IDoc SNDPRT LS ) ( http://sap.com/xi/XI/System/IDoc RCVPOR DIMX_NPI ) ( http://sap.com/xi/XI/System/IDoc RCVPRN 0000010000 ) ( http://sap.com/xi/XI/System/IDoc RCVPRT KU ) ( http://sap.com/xi/XI/System/IDoc RCVPFC RE ) ( http://sap.com/xi/XI/System/IDoc MESTYP INVOIC ) ( http://sap.com/xi/XI/System/IDoc MESCOD FI ) ( http://sap.com/xi/XI/System/IDoc IDOCTYP INVOIC02 ) ( http://sap.com/xi/XI/System/IDoc CIMTYP ZINVOIC02 ) ( http://sap.com/xi/XI/Message/30 CALLER_CODEPAGE 4103 )</Trace>

<Trace level="2" type="T">Mode 0</Trace>

<Trace level="2" type="T">Call method execute of the application Java mapping mx.com.sap.cfd.mapping.JMapping71</Trace>

<Trace level="1" type="T">Java mapping mx/com/sap/cfd/mapping/JMapping71 has thrown a StreamTransformationException. Thrown: com.sap.aii.mapping.api.StreamTransformationException: class java.lang.NullPointerException while trying to invoke the method org.w3c.dom.Element.getChildNodes() of an object loaded from local variable 'E1EDKT1' null at mx.com.sap.cfd.mapping.JMapping71.myTransform(JMapping71.java:795) at mx.com.sap.cfd.mapping.JMapping71.transform(JMapping71.java:765) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:87) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:71) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:119) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:72) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at sun.reflect.GeneratedMethodAccessor506.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy698.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:183) at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:269) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:250)</Trace>

<Trace level="1" type="T">Application mapping program mx/com/sap/cfd/mapping/JMapping71 throws a stream transformation exception: class java.lang.NullPointerException while trying to invoke the method org.w3c.dom.Element.getChildNodes() of an object loaded from local variable 'E1EDKT1' null Thrown: com.sap.aii.ib.core.mapping.execution.ApplicationException: Application mapping program mx/com/sap/cfd/mapping/JMapping71 throws a stream transformation exception: class java.lang.NullPointerException while trying to invoke the method org.w3c.dom.Element.getChildNodes() of an object loaded from local variable 'E1EDKT1' null at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:95) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:87) at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:71) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:119) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:72) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at sun.reflect.GeneratedMethodAccessor506.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy698.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:183) at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:269) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:250) Caused by: com.sap.aii.mapping.api.StreamTransformationException: class java.lang.NullPointerException while trying to invoke the method org.w3c.dom.Element.getChildNodes() of an object loaded from local variable 'E1EDKT1' null at mx.com.sap.cfd.mapping.JMapping71.myTransform(JMapping71.java:795) at mx.com.sap.cfd.mapping.JMapping71.transform(JMapping71.java:765) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92) ... 38 more</Trace>

<Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>

</Trace>

<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

<Trace level="3" type="T">Persisting message Status = 014</Trace>

<Trace level="3" type="T">Message version 006</Trace>

<Trace level="3" type="T">Pipeline CENTRAL</Trace>

</SAP:Trace>

</SOAP:Header>

- <SOAP:Body>

- <SAP:Manifest wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

- <SAP:Payload xlink:href="cid:payload-70F395024BB61EE093FF20012D84FB83 xxx.c">

<SAP:Name>MainDocument</SAP:Name>

<SAP:Description />

<SAP:Type>Application</SAP:Type>

</SAP:Payload>

</SAP:Manifest>

</SOAP:Body>

</SOAP:Envelope>

Former Member
0 Kudos

Hi,

Did you tested your mapping ?

check with the payload received in Moni and test your mapping ...

if there is any error in that fix the same...also check is the idoc data required fields are populated..

HTH

Rajesh

Former Member
0 Kudos

thank you all for your reply, the problem has been resolved, the detail was on the side of SAP ECC, did not send a value in the iddoc he is required to generate the XML