cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping error

Former Member
0 Kudos

Hi experts,

I am having message mapping error in my mapping

Runtime exception during processing target field mapping /ns0:DataManagement/Employee[2]/P0001[3]/KOSTL. The message is: Exception:[java.lang.StringIndexOutOfBoundsException: String index out of range:

Kindly suggest.

Regards

Sai

Accepted Solutions (0)

Answers (6)

Answers (6)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi, please check the length of the string saved in the field KOSTL in the thirth segment of P0001 and also the MaxLength for this field. seems the field support 4 characters as MaxLength and you are saving 6 characters -->for example

former_member207622
Contributor
0 Kudos

HI

Check the length of the KOSTL field and your input coming in . in the mapping if you are using node function " substring " or any UDF have a look at the display queue and see if there is any dump over there .

use proper data and test again .

Regards

Ninad

Former Member
0 Kudos

your sending out of filed range data for KOSTL.First u have to check lengthefor source and reciever.

Former Member
0 Kudos

Hi,

Please explain the mapping for the error field in detail.

It will help to investigate the issue.

If you are using subString function in mapping, and if the incoming field length is less than what you have mentioned for subString, then this issue happens.

-Supriya.

Former Member
0 Kudos

Hi Sai,

Can you please elaborate your scenario?

Regards,

Nayan

former_member208856
Active Contributor
0 Kudos

It may be problem of context handlling, your node is closed, when you are passing value in target field.

Try to use REMOVE CONTEXT (Node function) in mapping & test.