My Oracle Support Banner

Opening Order Backlog Workbench Throws Java Error - java.lang.StringIndexOutOfBoundsException: String index out of range: -2 (Doc ID 2778486.1)

Last updated on JUNE 01, 2021

Applies to:

Oracle Global Order Promising - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to open the Order Backlog Workbench, the following java 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.msc.SCHTreeClient.BSchedWB.initATPManager(BSchedWB.java:245)
at oracle.apps.msc.SCHTreeClient.BSchedWB.setProperty(BSchedWB.java:152)
at oracle.apps.fnd.formsClient.AppletAdapter.sendToApplet(AppletAdapter.java:648)
at oracle.apps.fnd.formsClient.AppletAdapter.handleMessage(AppletAdapter.java:356)
at oracle.apps.fnd.formsClient.AppletAdapter.setProperty(AppletAdapter.java:200)
at oracle.forms.handler.ComponentItem.setCustomProperty(Unknown Source)
at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.sendDeferredMessages(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Open the Order Backlog Workbench

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
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.