cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.StringIndexOutOfBoundsException in custom BSP

former_member24301
Active Participant
0 Kudos

Please kindly help this colleague in his issue:

"Hi,

We are trying to Display a Custom BSP Service and a ABAP WebDynpro Application into our Custom ESS Area.

After doing the settings in ECC6 and Portal we are able to get the two Services in the Custom Area ,ABAP Webdynpro service is working fine but when we click on the BSP Service , Java Error is thrown.

java.lang.StringIndexOutOfBoundsException

at java.lang.String.substring(String.java:1067)

at com.sap.pcuigp.xssfpm.wd.Navigation.navigate(Navigation.java:214)

at com.sap.pcuigp.xssfpm.wd.wdp.InternalNavigation.navigate(InternalNavigation.java:124)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.navigate(FPMComponent.java:992)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.navigate(FPMComponent.java:975)

... 50 more

"

Accepted Solutions (1)

Accepted Solutions (1)

nikhil_bose
Active Contributor
0 Kudos

java.lang.StringIndexOutOfBoundsException

at java.lang.String.substring(String.java:1067)

Go to line 1067, you are accessing a strings part which is out of current string length.

e.g.

you can use mystring.substring(0, mystring.length()); // where mystring.length will give you max length.

if you access beyond that it will show OutOfBoundException.

nikhiL

Answers (0)