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 MARCH 16, 2018

Applies to:

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

Symptoms

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

ERROR
-----------------------
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(String.java:1871)
at oracle.apps.jtf.regress.qatool.base.FileUtility.getClassNames(FileUtility.java:2545)
at oracle.apps.jtf.regress.qatool.base.FileUtility.getJavaClassVersions(FileUtility.java:777)
at oracle.apps.jtf.regress.qatool.base.FileUtility.displayJavaClassVersions(FileUtility.java:1477)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.apps.izu.xmlengine.Api.executeAPI(Api.java:339)
at oracle.apps.izu.xmlengine.Api.execute(Api.java:589)
at oracle.apps.izu.xmlengine.XMLEngineComponentFactory.buildAndExecuteChildren(XMLEngineComponentFactory.java:141)
at oracle.apps.izu.xmlengine.XMLTest.processChildren(XMLTest.java:454)
at oracle.apps.izu.xmlengine.XMLTest.execute(XMLTest.java:391)
at oracle.apps.izu.xmlengine.XMLEngine.execXMLTest(XMLEngine.java:184)
at oracle.apps.izu.xmlengine.TestBaseXML.runSupportTest(TestBaseXML.java:314)
at oracle.apps.jtf.regress.qatool.base.DiagBase.runTest(DiagBase.java:384)
at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.runTest(LegacyJavaTestExecution.java:147)
at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.execute(LegacyJavaTestExecution.java:83)
at oracle.apps.fnd.oam.diagnostics.exec.WorkerThread.run(WorkerThread.java:49)
at java.lang.Thread.run(Thread.java:724)

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms