My Oracle Support Banner

'java.lang.StringIndexOutOfBoundsException: String index out of range: -1' Error Running PortC.sh with Weblogic (Doc ID 2601376.1)

Last updated on OCTOBER 31, 2019

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.7 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)

Symptoms

When attempting to run the PortC utiility 'DMP' command in an environment with Weblogic, you get the error below:

/utility/PortC/bin$ ./PortC.sh DMP
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
     at java.lang.String.substring(String.java:1967)
     at PortC.ConfigurePorts.findDomainHome(ConfigurePorts.java:1160)
     at PortC.ConfigurePorts.findValueInUninstall(ConfigurePorts.java:1246)
     at PortC.ConfigurePorts.createPropertiesFile(ConfigurePorts.java:1025)
     at PortC.ConfigurePorts.main(ConfigurePorts.java:6206)


The log files and the DefaultPorts.properties file do exist on $FIC_HOME.

The permissions are set to 775 for the entire $FIC_HOME structure.

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.