Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

java.lang.StringIndexOutOfBoundsException

Hi Gurus,

While we accessing PI

While processing the current request, an exception occured which could not be handled by the application or the framework.

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

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillStaticTemplateContext(HtmlClient.java:516)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1213)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)

... 26 more

Thanks

Former Member
Former Member replied

Check your mapping. This error is due the substring function has no value in your mapping.

while using substring you must pass some value with proper length to it, if it is empty or shorter then the specified length it will throw an error.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question