2043523 - StringIndexOutOfBoundsException: String index out of range: -1 when Short Urls is disabled | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

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

Symptom

  • 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>
    [EXCEPTION]
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1499)
    at com.sapportals.portal.navigation.NavigationService.redirectMergedUrl(NavigationService.java:972)
    at com.sapportals.portal.navigation.NavigationService.redirect(NavigationService.java:862)
    at com.sapportals.portal.navigation.NavigationEventsHelperService.redirectURL(NavigationEventsHelperService.java:2617)

Read more...

Environment

Netweaver portal version independent.

Product

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

Keywords

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 ONE Support launchpad (Login required).

Search for additional results

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