My Oracle Support Banner

When Open Organization Diagrammer in HRMS application Error Occur - java.lang.StringIndexOutOfBoundsException: String index out of range: -2 (Doc ID 2533443.1)

Last updated on JUNE 07, 2021

Applies to:

Oracle Human Resources - Version 12.2.7 and later
Information in this document applies to any platform.
TreeViewer.java

Symptoms

When attempting to open Organization Diagrammer in HRMS application, the following error occurs.

ERROR
-----------------------

java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(Unknown Source)
at oracle.apps.fnd.tcf.Dispatcher.parseItem(Dispatcher.java:220)
at oracle.apps.fnd.tcf.Dispatcher.parseInput(Dispatcher.java:994)
at oracle.apps.fnd.tcf.ClientDispatcher.send(ClientDispatcher.java:670)
at oracle.apps.fnd.hierarchy.client.TreeViewer.exit(TreeViewer.java:2717)
at oracle.apps.fnd.hierarchy.client.TreeViewer.exitWithFailure(TreeViewer.java:2665)
at oracle.apps.fnd.hierarchy.client.TreeViewer.init(TreeViewer.java:449)at oracle.apps.per.hierarchy.client.OrgTreeViewer.init(OrgTreeViewer.java:179)

STEPS
-----------------------

The issue can be reproduced at will with the following steps:

1. Login in application

2. Select HRMS Manager responsibility

3. Work Structure > Organization > Diagrammer

4. Search on the Organization Hierarchy name , then click on “Open Editor”

5. Error reported above is shown.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.