IBM Support

PM33954: Generated code appears to be using old format from RiCReactive_Vtbl

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When trying to generate code using the OXF for Nucleus, it
    appears to be using information from a previous version. The
    definition in oxf seems to mismatch with the generated code.
    It's obvious in the RiCReactive_Vtbl. The macro define of
    RiCReactive_Vtbl in RiCReactive.h is as below:
    
                    /* Virtual table of RiCReactive */
    
                    typedef struct RiCReactive_Vtbl_t
    
                    {
    
                        RiCDispatchEvent dispEventFunc;
    
                        RiC_rootState_entDef rootState_entDefFunc;
    
                        RiC_rootState_serializeStates
    
    rootState_serializeStates;
    
                        RiCObjectDestroyMethod destroyMethod;
    
                        RiCConsumeEvent consumeEvent;
    
                        RiCHandleEventNotConsumed
    handleEventNotConsumed;
                        RiCHandleTONotConsumed handleTONotConsumed;
    
                        RiCObjectCleanupMethod cleanupMethod;
    
                        RiCObjectFreeMethod freeMethod;
    
                    } RiCReactive_Vtbl;
    
    
    
    
    So totally 9 elements inside this structure, but generated code
    still using the old format which only include 7 elements as:
    
                    static const RiCReactive_Vtbl
    ADCMonitor_reactiveVtbl =
    {
    
                                rootState_dispatchEvent,
    
                                rootState_entDef,
    
                                NULL,
    
                                (RiCObjectDestroyMethod)
    ADCMonitor_Destroy,
                                NULL,
    
    
    callBackReactiveHandleEventNotConsumed,
                                callbackReactiveHandleTONotConsumed
    
                    };
    
    Which follow the format with 4.1 code (RiCReactive.h under oxf
    folder of Rhapsody 4.1).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Generated code appears to be using old format from
    RiCReactive_Vtbl
    

Problem conclusion

  • Fixed in version 8.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM33954

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    753

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-02

  • Closed date

    2012-09-27

  • Last modified date

    2012-09-27

  • 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

  • R753 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 7.5.3

Reference #: PM33954

Modified date: 27 September 2012