IBM Support

PI35735: API returns non-existent project level Cmp and Config when only package level component exists in model.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Project has on package level component/config and no default
    project level component/config. However, when you run the code
    below to check for project level components, the name of the
    package level component is returned with a default config.
    
    IRPApplication app =
    RhapsodyAppServer.getActiveRhapsodyApplication();
    List?IRPComponent? listCmp =
    app.activeProject().getComponents().toList();
    for (IRPComponent thisCmp : listCmp) {
     System.out.println(thisCmp.getName());
     List?IRPConfiguration? listCfg =
    thisCmp.getConfigurations().toList();
     for(IRPConfiguration thisCfg : listCfg) {
    
      System.out.println('\t' + thisCfg.getName());
     }
    }
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of version 761                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * API returns non-existent project level Component and         *
    * Configuration when only package level components exists in   *
    * the model.                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI35735

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-25

  • Closed date

    2015-06-26

  • Last modified date

    2015-06-26

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

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

Fix information

Applicable component levels

  • R813 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
16 October 2021