on 07-08-2011 11:58 AM
Hi All
In the attendance claim application when I am approving attendance claim for 3rd Time.
It is giving following error can you please help out ,how to resolve it.
Previously it is 2 approving time,
but we changed it to 3 in r/3 function module.That it can be approved for 3 times also.
ERROR:Exception incomplete Controller Java.lang.stringindexOutOfBoundsException:string index out of range 0 in attendance claim application + sap enterprise portal.
Thanks in Advance
Deepika
Edited by: deepika_indian on Jul 8, 2011 1:03 PM
Edited by: deepika_indian on Jul 8, 2011 1:19 PM
Edited by: deepika_indian on Jul 8, 2011 1:53 PM
HI Deepika,
You must be getting an empty string value from the function module so its giving this kind of exception.
So if string is empty it will not find any value at index 0.
Please print the values which are coming from the r/3 function module and check wether any empty string is coming.
Check the string value wether it is empty or not by using isEmpty() function.
Check this link for more info.
http://www.coderanch.com/t/485223/java/java/String-Index-Out-Bounds-Exception
Hope this helps you.
Regards,
Saleem Mohammad.
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 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.