IBM Support

PH32870: CPP-TO-UML TRANSFORMATION GIVES A "JAVA.LANG.STRINGINDEXOUTOFBOUNDSEXCEPTION" ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you attempt to tranform C++ (CPP) code into a UML model in
    IBM Rational Software Architect Designer (RSAD), a
    "java.lang.stringIndexOutofBoundsException" error occurs.
    
    The steps to reproduce the problem are as follows:
    
    1. Import a C++ project into RSAD
    2. Add all the required include paths to RSAD
    3. Create a model project with blank C++ model
    4. Create a CPP-to-UML transformation configuration with the new
    model project
    5. Set the source to the CPP project and the target to the model
    EMX file
    6. Run the CPP-to-UML transformation
    RESULT: A "java.lang.stringIndexOutofBoundsException" error
    appears.
    

Local fix

  • There is no workaround.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * CPP-TO-UML TRANSFORMATION GIVES A                            *
    * "JAVA.LANG.STRINGINDEXOUTOFBOUNDSEXCEPTION" ERROR            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • StringIndexOutOfBoundException and a NullPointerException are
    fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH32870

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    960

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-12-21

  • Closed date

    2021-08-28

  • Last modified date

    2021-08-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R960 PSY

       UP

  • R961 PSY

       UP

  • R970 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"960","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
21 November 2021