IBM Support

PI71927: IN RDZ 9.5.1/RTC 5.0.2 OR IDZ 14/RTC 6.0.1, NPE ON RIGHT CLICKFOR CONTENT MENU ON COBOL MODULE OPENED IN RTC REPOSITORY FILES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When attempting to work with a COBOL module stored in the
    Rational Team Concert (RTC) repository with Rational Developer
    for System z (RDz) 9.5.1/RTC 5.0.2 or IBM Developer for System z
    (IDz) 14/RTC 6.0.1, the context menu fails to appear and instead
    a java.lang.NullPointerException is produced.
    
    Recreation Steps:
    
     1) Connect to an RTC repository
    
     2) Select "Show > Repository files" on a RTC component
    containing COBOL modules
    
     3) in the Repository Files view, double-click on a COBOL module
    
     4) Once the module opens in the COBOL editor, right-click in
    the editor to display the context menu.
    
    The context menu is not displayed, and a
    java.lang.nullPointerException appears.
    
    java.lang.NullPointerException
    	at
    com.ibm.systemz.cobol.editor.jface.editor.CobolUtilities.getSele
    ctedNode(CobolUtilities.java:91)
    	at
    com.ibm.systemz.cobol.editor.jface.editor.CobolEditor.editorCont
    extMenuAboutToShow(CobolEditor.java:498)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED: Rational Developer for System z (RDz) and
    Rational Team Concert (RTC) working with resources from the
    Repository Files view.
    ****************************************************************
    PROBLEM DESCRIPTION:  After using the Show > Repository Files
    action in RTC, the user opens a resource from the Repository
    Files view using the editor in RDz.  When the user then attempts
    to right click within the editor and use the menu, no options
    are displayed.
    ****************************************************************
    

Problem conclusion

  • ****************************************************************
    Problem Resolution: Since the resource is being displayed in the
    editor directly from the repository and not from the local or
    remote file system a change was required to properly display the
    context menu.  Note that the resulting menu options are
    significantly reduced in this context as compared to working
    with files on a file system.
    ****************************************************************
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for z Systems V9.5.1.3 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI71927

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    E00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-07

  • Closed date

    2016-11-21

  • Last modified date

    2016-11-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

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E00","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
19 October 2021