IBM Support

PM65802: Rhapsody crashes on CG of a Merged package (after Diffmerge is performed)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Summary:
    Rhapsody crashes on CG of a Merged package (after Diffmerge is
    performed)
    
    
    Description:
    Attached you will find the merge files and the result of an
    example class with one operation.
    Calling the batch file will do the graphical merge.
    
    
    If you now call the batchfile and merge only the argument
    'argument_0' (NOT the whole operation 'f') and than close and
    save diffmerge, then we have a corrupt model. (return type is
    not valid anymore, and code generation crashes, if we access
    $Return).
    ie, Set the DescriptionTemplate property for the Operation to
    $Return at the Operation and the Class level. And then generate
    the code.
    
    This crash can be overcome if we Un-override the property.
    
    Note:
    Yes, the problem occurs only, if you merge just the argument.
    (If I merge the whole operation, everything works fine.)
    
    
    
    Customer Comment:
    I know, that this is not the expected user behaviour, but it can
    happen (At least we did this user error in our project). At the
    moment I consider this to be a bug of DiffMerge.exe, because it
    creates/saves the corrupted model. But anyway, I would recommend
    to add an additional check also to the Rhapsody code generator
    to handle NULL pointer access. Crashing the application because
    of corrupt model is not very user fiendly.
    
    
    
    Attachment:
    08342,SGC,724.zip contains the reproducible files
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    After merging a package with DiffMerge, Rhapsody closes
    unexpectedly during code generation.
    

Problem conclusion

  • Fixed in 7.6.1.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM65802

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-30

  • Closed date

    2012-07-12

  • Last modified date

    2012-07-12

  • 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

  • R761 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.6.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 July 2012