ADCHKCFG.SH Is Failing With java.lang.StringIndexOutOfBoundsException (Doc ID 1616770.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Applications Technology Stack - Version 12.1.2 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.2 version, Autoconfig Engine

When attempting to run adchkcfg.sh
the following error occurs in the screen output.

ERROR
-----------------------
Differences text report is located at: /imports/opt/oracle/apps/OPRD/inst/apps/OPRD_eprdmt1/admin/out/12312243/cfgcheck.txt

  Generating Profile Option differences report...COMPLETED
Differences text report for the Database is located at: /opt/oracle/apps/OPRD/inst/apps/OPRD_eprdmt1/admin/out/12312243/ProfileReport.txt
  Generating File System differences report......Exception in thread "main" java.lang.StringIndexOutOfBoundsException
  at java.lang.String.substring(String.java:1092)
  at oracle.apps.ad.autoconfig.InstantiateFile.getFrameFileName(InstantiateFile.java:5315)
  at oracle.apps.ad.autoconfig.HtmlDiffReport.generateDiff(HtmlDiffReport.java:1957)
  at oracle.apps.ad.autoconfig.HtmlDiffReport.writeChanged(HtmlDiffReport.java:1429)
  at oracle.apps.ad.autoconfig.HtmlDiffReport.writeDiffFileInfo(HtmlDiffReport.java:1150)
  at oracle.apps.ad.autoconfig.AppltopDrivers.main(AppltopDrivers.java:1395)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. cd $AD_TOP/bin
2. adchkcfg.sh contextfile= <full path and context name>



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