IBM Support

PM66492: Unable to build the model due to Diamond of death Problem


You can track all active APARs for this component.

APAR status

  • Closed as Permanent restriction.

Error description

  • For the specific model; the Project under folder
    'ActiveClass_and_inheritance' contains two classes having a
    generalization relationship between them.
    Assume class A is an active class which contains a statechart,
    and class B inherit from it.
    Both class A and B are compiled as a library.
    In a different project found under
    'ActiveClass_and_inheritance2' folder, class C inherits from
    class B. In order to do that ? class A and B were defined in the
    new project as External classes.
    After which the second model fails to compile due to ambigous
    error which is obvious.
    Here, CG doesn't recognize the situation when active reactive
    class inherits from another active reactive class. As a result,
    derived class declaration contains redundant base classes
    OMThread and OMReactive.

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * PROBLEM DESCRIPTION:                                         *
    * RECOMMENDATION:                                              *
    This is the expected behavior: When an element is declared
    as external, the element generation is the responsibility of
    the user, abd Rhapsody does not make any assumptions about
    its creation. Hence you see the includes added to class C
    There is a better and recomended way to achieve this:
    This element (package A in the sample) belongs and is being
    generated in another Rhapsody model. So all you need to do
    is to add this element to your model BY REFERENCE ! . (Again
    - make sure its not external). Now all will work as

Problem conclusion

  • This is how the feature is designed to work.

Temporary fix


APAR Information

  • APAR number


  • Reported component name


  • Reported component ID


  • Reported release


  • Status


  • PE




  • Special Attention


  • Submitted date


  • Closed date


  • Last modified date


  • 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

Document information

More support for: Rational Rhapsody

Software version: 7.6.1

Reference #: PM66492

Modified date: 15 November 2012

Translate this page: