My Oracle Support Banner

12.2 Error When Running Cost Check Diagnostic Tool, JAVA CLASSES IN BOM DISPLAY EXCEPTION - STRING INDEX OUT OF RANGE: -1 (Doc ID 2374768.1)

Last updated on SEPTEMBER 16, 2019

Applies to:

Oracle Cost Management - Version 12.2.4 and later
Information in this document applies to any platform.


On : 12.2.4 version, when attempting to run Cost Check Diagnostic,
the following error occurs.

Running this Diagnostic delivers some data, but there is an error that makes the output somewhat questionable. See below:

Java Classes in BOM [Top]
EXCEPTION - String index out of range: -1 caught in 'FileUtility.displayJavaClassVersions'
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(
at oracle.apps.jtf.regress.qatool.base.FileUtility.getClassNames(
at oracle.apps.jtf.regress.qatool.base.FileUtility.getJavaClassVersions(
at oracle.apps.jtf.regress.qatool.base.FileUtility.displayJavaClassVersions(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at oracle.apps.izu.xmlengine.Api.executeAPI(
at oracle.apps.izu.xmlengine.Api.execute(
at oracle.apps.izu.xmlengine.XMLEngineComponentFactory.buildAndExecuteChildren(
at oracle.apps.izu.xmlengine.XMLTest.processChildren(
at oracle.apps.izu.xmlengine.XMLTest.execute(
at oracle.apps.izu.xmlengine.XMLEngine.execXMLTest(
at oracle.apps.izu.xmlengine.TestBaseXML.runSupportTest(
at oracle.apps.jtf.regress.qatool.base.DiagBase.runTest(
at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.runTest(
at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.execute(


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.