IBM Support

PM68925: addActivityDiagram to operations fails with error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using this code I cannot add an activity diagram to an
    operation. I can do it manually but not via code.
    
    IRPApplication app =
    RhapsodyAppServer.getActiveRhapsodyApplication();
    IRPProject proj = app.activeProject();
    IRPModelElement elem = app.getSelectedElement();
    if(elem instanceof IRPOperation){
    IRPOperation oper = (IRPOperation)elem;
    IRPFlowchart activ = (IRPFlowchart)oper.addActivityDiagram();
    
    
    Workaround:
    ========
    The user can replace the following line:
    IRPFlowchart activ = (IRPFlowchart)oper.addActivityDiagram();
    
    By the following line:
    IRPFlowchart activ =
    (IRPFlowchart)oper.addNewAggr('ActivityDiagram', '');
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    addActivityDiagram to operations fails with error
    

Problem conclusion

  • Fixed in Scorpio
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM68925

  • 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-07-16

  • Closed date

    2012-09-21

  • Last modified date

    2012-09-21

  • 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:
21 September 2012