IBM Support

Error when CAST is used: CRRPE3011E Error in Engine - String index out of range

Troubleshooting


Problem

When you use type casting in IBM Rationl Publishing Engine when working with Rational Rhapsody data, CRRPE3011 errors may occur, "String index out of range".

Symptom

Using type casting in Rational Publishing Engine when working with Rhapsody data might cause CRRPE3011 errors, "String index out of range".

A construct as illustrated above will cause the error.
The work around is to request at least another attribute. In the example bellow the ID attribute is added.


The work around has no footprint in the output and has a negligible impact on document generation time.

Cause

Defect in product

Resolving The Problem

The problem occurs only when a single attribute is used from the type casted element. To solve the problem, add a dummy template element to request a second attribute.

[{"Product":{"code":"SSUBFB","label":"IBM Engineering Lifecycle Optimization - Publishing"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"1.1.2","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Publishing Engine

Document Information

Modified date:
16 June 2018

UID

swg21500420