SAP Knowledge Base Article - Preview

2043523 - StringIndexOutOfBoundsException: String index out of range: -1 when Short Urls is disabled


  • Short Urls are disabled on enterprise portal and navigation to an iview results into Portal runtime error.
  • An iview/page is accessed on portal through top level navigation or breadcrumb.
  • Exception matching with 'Exception ID' of Portal runtime error:
    <Exception ID>
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(
    at com.sapportals.portal.navigation.NavigationService.redirectMergedUrl(
    at com.sapportals.portal.navigation.NavigationService.redirect(
    at com.sapportals.portal.navigation.NavigationEventsHelperService.redirectURL(



Netweaver portal version independent.


SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0


KBA , EP-PIN-NAV , Navigation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.