My Oracle Support Banner

PortC Utility Fails With String index out of range: -52 (Doc ID 2946929.1)

Last updated on DECEMBER 19, 2024

Applies to:

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

Symptoms

On : 8.0.8 version,

Error while executing portc utility.

ACTUAL BEHAVIOR
---------------
while executing ./PortC.sh DMP , it gives the below error :
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:1221)
at PortC.ConfigurePorts.findValueInUninstall(ConfigurePorts.java:1284)
at PortC.ConfigurePorts.createPropertiesFile(ConfigurePorts.java:1052)
at PortC.ConfigurePorts.main(ConfigurePorts.java:6343)

EXPECTED BEHAVIOR
-----------------------
defaultport.properties files should get created with the current environment configuration details.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigate to $FIC_HOME/ficapp/common/FICServer/bin
2. execute /PortC.sh DMP


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, unable to change any properties of the environment using the PORTC utility

Changes

 Upgrade Platform to 808

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.