IBM Support

PM79269: Using API call 'getDiagramOfSelectedElement()' in Eclipse IDE with Platform integration, focus is lost from selected element.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Headline:
    
    Using API call 'getDiagramOfSelectedElement()' in Eclipse IDE
    that also runs the Rhapsody Platform integration, focus is lost
    from the selected element.
    
    Abstract:
    
    Attempts to use the API call 'getDiagramOfSelectedElement()' for
    an element selected in the diagram on Eclipse the Rhapsody
    Platform integration, results in focus being lost from the
    selected element and in turn lead to null pointer exception.
    
    Description:
    
    When using the API call 'getDiagramOfSelectedElement()' for an
    element selected in the diagram on Eclipse's platform
    integration mode and that also runs the Java API code, it is
    expected that the diagram containing the element is returned.
    However this is not the case; while running the code (in Java
    Perspective) focus is lost from the selected element (in
    Rhapsody Modeling Perspective) and it results in a null pointer
    exception.
    
    Workaround:
    
    There is no known workaround at this time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Using API call 'getDiagramOfSelectedElement()' in Eclipse
    IDE with Platform integration, focus is lost from selected
    element.
    

Problem conclusion

  • Fixed in 8.0.5
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM79269

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

  • Closed date

    2013-12-13

  • Last modified date

    2013-12-13

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
29 October 2021