IBM Support

PM41450: RHP 753 - 'Action on Exit' code not execting correctly with concurrency

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Transition from join to terminatin connector results in one of
    the concurrent state's 'Action on Exit' not being called
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In cases where orthogonal states exit to a join connector
    that is followed by a termination connector, the code that
    is generated always uses the exit action of the first state
    regardless of which of the orthogonal states the system was
    in.
    

Problem conclusion

  • Fixed in version 8.0. To preserve the previous code
    generation behavior for pre-8.0 models, a property called
    CG::Statechart::UsePre80StatechartCG was added to the
    backward compatibility settings for C, C++, and Java with a
    value of True.
    
    In the original description of the item, the user also
    indicated that there is an additional defect: the exit
    action of the AND state containing all orthogonal components
    is not executed. Since the target of the compound
    transitions is a termination connector (terminate pseudo
    state), this is not a defect according to the UML
    specification. Following is a citation: "Entering a
    terminate pseudostate implies that the execution of this
    state machine by means of its context object is terminated.
    The state machine does not exit any states nor does it
    perform any exit actions other than those associated with
    the transition leading to the terminate pseudostate."
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM41450

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-13

  • 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

  • R750 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 September 2012