IBM Support

PI83119: INCORRECT CODE GENERATED WHILE USING DERIVED STATE CHARTS AND NAMESPACES.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you have  two packages "A" and "B" in Rhapsody model.
    
    In the package "A" there is a class "Base" which implements a
    state chart. There is one "triggered operation" named "tr" with
    an "int" parameter.
    
    The package "B" defines a namespace
    (CPP_CG::Package::DefineNameSpace). Inside "B" there is class
    "Derived" which derives from "A::Base".
    
    Compilation of this project leads to compiler error:
    Derived.cpp(52) : error C2653: 'A' : is not a class or namespace
    name
    
    If you look at the error, than you will recognize, that Rhapsody
    generated a namespace for  "tr_Base_Event", but this event is
    not in any namespace.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Incorrect code generated while using derived state charts    *
    * and namespaces.                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Name space is generated before triggered operation event only if
    it is defined in subsystem, where it belongs to.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI83119

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    812

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-15

  • Closed date

    2017-12-04

  • Last modified date

    2017-12-04

  • 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

  • R812 PSY

       UP

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

Document Information

Modified date:
04 December 2017