IBM Support

PM14133: Crash on code generation when you have a constructor for a deriv ed event

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Client wants to generate a code similar to below :
    class BASE : public OMEVENT
    {
       public:
        Base (int MID);
    }
    class DERIVED_A :  public Base
    {
       DERIVED_A : Base(1) {};
    }
    class DERIVED_B  : public Base
    {
       DERIVED_A : Base(2)  {};
    }
    As you see,we need to set initializers for the derived event con
    structors.To achieve this user tries to add a constructor to the
     derived events .However when having a ctor for a derived event
    Rhapsody crashes on code generation.
    Steps to reproduce :
    1) Create a base event
    2) Create a derived event and add a constructor
    3) generate code.
    workaround :
    Use standarod Operations.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Can not initiate super class in case of event hirarchy
    

Problem conclusion

  • Fixed in 7.5.2.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM14133

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-07

  • Closed date

    2010-09-16

  • Last modified date

    2010-09-16

  • 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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 September 2010