on 06-18-2008 5:37 AM
Hi Folks,
I have referred the blog /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16 for enhanced receiver Determination.
I have created my own Used Defined Function in Message Mapping , same like Function Service Determination in the Blog. But when I am testing the Message Mapping I am getting following error
"Exception:[java.lang.StringIndexOutOfBoundsException: String index out of range"
Thanks,
Punit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Punith,
If u r using a userdefined function.. It looks like your userdefined function is failing with string index out of range failure.. You can copy the payload to file (from SXMB_MONI) and then upload the payload to test tool in mapping (in IR)... you should be able to figure out why it is failing..
Check the length of the string you are using as input to the substring function.And error tells some String outof bound exceptions,.ie the value for which you used Substring is not containing that many characters...check it and also make sure that after mapping , all the fields should be with exact data length as mentioned in the data type.
StringIndexOutOfBoundException
Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/StringIndexOutOfBoundsException.html
Also check
Regards,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.