My Oracle Support Banner

PortC.sh Fails With 'java.lang.StringIndexOutOfBoundsException: String index out of range: -52' on findFtpSharePath (Doc ID 2912662.1)

Last updated on DECEMBER 14, 2022

Applies to:

Oracle Financial Services Funds Transfer Pricing - Version 8.0.6 to 8.0.6 [Release 8]
Oracle Financial Services Asset Liability Management - Version 8.0.6 to 8.0.6 [Release 8]
Oracle Financial Services Profitability Management - Version 8.0.6 to 8.0.6 [Release 8]
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.6 to 8.0.6 [Release 8]
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)

Symptoms

When running the PortC.sh utility with either DMP or UPD, the following error occurs:

$ ./PortC.sh DMP
Picked up JAVA_TOOL_OPTIONS: -Xss2M
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -52
       at java.lang.String.substring(String.java:1967)
       at PortC.ConfigurePorts.findFtpSharePath(ConfigurePorts.java:1256)
       at PortC.ConfigurePorts.findValueInUninstall(ConfigurePorts.java:1319)
       at PortC.ConfigurePorts.createPropertiesFile(ConfigurePorts.java:1060)
       at PortC.ConfigurePorts.main(ConfigurePorts.java:6696)

As a result, you cannot make required changes to the environment settings.

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.