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

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version 5.5 to 5.5 [Release 5.5]
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2011***
***Checked for relevance on 21-Nov-2013***

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms