Hi All,
I am workign on a scenario, where i am getting dtaa from SQL server using sender JDBC adapter.
I need to pass this data into a Z-RFC to update a ztable.
While executing the scenario, the messages are populatingin SXMB_MONI with the following error and Red Flag.
com.sap.aii.utilxi.misc.api.BaseRuntimeException
thrown during application mapping
com/sap/xi/tf/_pavan_mm_: RuntimeException in
Message-Mapping transformatio~
I have tested Message Mapping in Repository. Its working fine.
But when i copy the payload from SXMB_MONI and paste the same payload in Message Mapping (Repository), the system is showing following Error.....
Details
java.lang.NullPointerException
STACKTRACE:
com.sap.aii.ib.core.mapping.exec.ExecuteException: java.lang.NullPointerException
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:477)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
java.lang.NullPointerException
STACKTRACE:
java.lang.NullPointerException
at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59)
at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182)
at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149)
at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
I have tested the Configuration in Integration Directory with the payload from SXMB_MONI... The error is same as above mentioned.
In message mapping, the source message type is a data type similar to the selected fields from sql server.
The target message type is the imported RFC.
The RFC is working fine, when i enter the data manually in R/3.
I am unable to trace out the error behind this kind of situation....
Can any one guide me in this regard...??
Regards
Pavan
Hi pavan,
try copying only exact payload....starting from the node....
if u observe xml in sxmb_moni and mapping test there will be a difference..."ns0"
and " ns1" like that.....so if u exactly copy the whole thing in mapping test it wil give error...instead try keepiong the header same in test xml and paste only payload starts with nodes....try this hope it will work....
Reward points if usefull!!!
Hi
please replace your Document name in sender CC as message type name instead of resultset
also please provide the Document namespace in sender CC
please check it
with regards
gabriel
Hi Pavan,
As u have tested the mapping which is working fine thats good,
Now u also check weather u r entering the right values in the payload. For example if the value of the field in the payload exceeds the permisable length then it could throw the exception. And also check wether the there any condition sepcified for the particular recevier in the mapping.
Hope this could slove u r problem...
Reward with points if helpful
Regards
Sai Ganesh
Hi,
com.sap.aii.utilxi.misc.api.BaseRuntimeException
thrown during application mapping
com/sap/xi/tf/_pavan_mm_: RuntimeException in
Message-Mapping transformatio~
>>>this must be the problem with ur mapping check u have mapped the correct fields according to ur scenario and also compare the result of the source u got in sxmb_moni with the source of message mapping in(IR)............
Regards,
Azeez khan.
Add a comment