IBM Support

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

Technote (troubleshooting)


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".


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.


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.

Related information

DevWorks Discussion on CAST issues

Document information

More support for: Rational Publishing Engine
General Information

Software version: 1.1.2

Operating system(s): Linux, Windows

Software edition: All Editions

Reference #: 1500420

Modified date: 30 May 2011