Skip to main content

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


Subscribe

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

Problem conclusion

  • This is how the feature is designed to work.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM66492

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-11

  • Closed date

    2012-11-15

  • Last modified date

    2012-11-15

  • 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

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Rhapsody


Software version:
761


Reference #:
PM66492


Modified date:
2012-11-15

Translate my page

Content navigation