cancel
Showing results for 
Search instead for 
Did you mean: 

Payload Error

Former Member
0 Kudos

HI,

Please find the below error and kindly suggest"

Runtime exception during processing target field mapping /claims/claim/

NSC_Code. The message is: Exception:[java.lang.NullPointerException] in class

com.sap.xi.tf._eNewsClaims_To_Claims_ method ChangeFileName$[OA-7SAF01,

com.sap.aii.mappingtool.tf3.rt.Context@769f6b78]

com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception

during processing target field mapping /claims/claim/NSC_Code. The message is:

Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._eNewsClaims_To_Claims_

method ChangeFileName$[OA-7SAF01, com.sap.aii.mappingtool.tf3.rt.Context@769f6b78]

at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:371)

at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:333)

at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:333)

at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:423)

at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142)

at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:120)

at

Regards

Sai

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sai,

Check the field mapping, there might be a mandatory field that need to be passed and is missing. Use " Display Queue" option to identify where it is failing.

Thanks,

Answers (4)

Answers (4)

venkatasasidhargupta_gada
Active Participant
0 Kudos

Hi,

The log is saying that there is a error occuring while executing the method "ChangeFileName" which is used to create the target element /claims/claim/NSC_Code.

Please check your code inside this user defined method - how it is processing the input values and how it is returning the output values and does that code suits to create target element NSC_Code (occurence).

baskar_gopalakrishnan2
Active Contributor
0 Kudos

In addition to above suggestions, Please check NSC_Code element value is available in target element or not. The error shows that this element is missing or this element is mandatory declared but no value found.

naveen_chichili
Active Contributor
0 Kudos

Hi Sai,

As specified above by sarkar download your payload in MONI and test your mapping so that you would be able to encounter the exact error why claims/claim/NSC_Code is not able to generate your target feild.

Regards,

Naveen.

Former Member
0 Kudos

Hi,

Please load the payload from moni into your message mapping test tab and try running the mapping from there.

com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception

during processing target field mapping /claims/claim/NSC_Code

Check the mapping for the field NSC_Code as the error seems to be generating from the mapping for this field.

You will normally get the NullPointerException if you are trying to acccess something that is not existing.

Regards