My Oracle Support Banner

Planned Shipment Xml Template Sample Errors with java.lang.StringIndexOutOfBoundsException: String index out of range: 0 (Doc ID 745877.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 5.5 to 5.5 [Release 5.5]
Information in this document applies to any platform. *** ***

Symptoms

-- Problem Statement:
When attempting to Generate XML template for Planned Shipment, the following error occurs:

ERROR
java.lang.StringIndexOutOfBoundsException: String index out of range: 0

-- Steps To Reproduce:
The issue can be reproduced at will with the following steps:
1. From OTM select Business Process Automation> Integration Manager> Generate XML template

2. Select XML Element ID = 'PlannedShipment'. Check include data:

3. The following error is shown

<?xml version="1.0" encoding="UTF-8"?>

<StackTrace> <!--

java.lang.StringIndexOutOfBoundsException: String index out of range: 0

java.lang.StringIndexOutOfBoundsException: String index out of range: 0

at java.lang.String.charAt(String.java:444)

-- Business Impact:
The issue has the following business impact:
Due to this issue, users cannot Generate Planned Shipment XML templates

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

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