My Oracle Support Banner

StringIndexOutOfBoundsException: String index out of range: -12 error while running PortC (Doc ID 2625614.1)

Last updated on FEBRUARY 19, 2020

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.0 and later
Information in this document applies to any platform.

Symptoms

 Below ERROR is faced while running PortC :


[indasapp@vbinindasprdapp01 ofsa8]$ java -jar PortC.jar DMP
Picked up _JAVA_OPTIONS: -Xms512m -Xmx10240m
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -12
  at java.lang.String.substring(String.java:1967)
  at PortC.ConfigurePorts.findValueInUninstall(ConfigurePorts.java:1697)
  at PortC.ConfigurePorts.createPropertiesFile(ConfigurePorts.java:1459)
  at PortC.ConfigurePorts.main(ConfigurePorts.java:7863)

Changes

 PortC utility is run as part of cloning to change ports,IP etc of target environment

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
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.