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 NOVEMBER 23, 2020

Applies to:

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


On : 12.2.7 version, Orgs,Jobs,Locs,Positions etc

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

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

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 occur


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

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