IBM Support

PM51195: Compare with remote COBOL file results in NullPointerException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • APAR Error Description:
    Abstract: In Rational Developer for System Z (RDz) version
    7.6.2.2, attempts to compare a local COBOL file with its remote
    version result in error:
    
    java.lang.NullPointerException
    
     at com.ibm.ftt.resources.zos.util.RSEClient.argument(Unknown
    Source)
     at com.ibm.ftt.resources.zos.util.RSEClient.command(Unknown
    Source)
     at com.ibm.ftt.resources.zos.util.RSEClient.command(Unknown
    Source)
     at
    com.ibm.ftt.resources.zos.filesystem.impl.MemberImpl.issueExists
    Command(Unknown
    Source)
     at
    com.ibm.ftt.resources.zos.filesystem.impl.MVSResourceImpl.exists
    (Unknown
    Source)
    
    
    Problem: To reproduce the problem:
    
    1) start RDz
    2) Create a new local COBOL project (File ? New ? Projects ?
    Examples ? Workstation COBOL ? COBOL Sample 1)
    3) Enable remote synchronization (right-click on project ?
    Remote ? Synchronize with remote) and choose default option on
    the wizard (enable managed synchronization on page 2)
    4) edit file .RemoteMapping and expand Project ? COBOL then
    change the default mapping for PRINTAPP to MYPDS.COBOL(PRINTAPP)
     where MYPDS.COBOL already exists but is empty
    5) select MVS as type and save the changes
    6) right-click on PrintApp.cbl and select Remote ? synchronize
    with remote
    7) copy changes to host
    8) from Remote System Explorer (RSE) open MYPDS.COBOL(PRINTAPP)
    and make a change
    9) right-click on local PrintApp.cbl and select Compare with ?
    Remote with myRDzHost : No error compare Editor opens with both
    files
    10) close compare Editor and from RSE delete
    MYPDS.COBOL(PRINTAPP)
    11) repeat step 9: no comparison and .log shows
    NullPointerException
    
    
    Local fix:
    Disconnect from the host and reconnect
    

Local fix

Problem summary

  • Code which was verifying the existence of the deleted member on
    the host was not checking for a null object before calling one
    of its methods.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM51195

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-31

  • Closed date

    2011-11-30

  • Last modified date

    2011-11-30

  • 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

    RATL DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R762 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
27 October 2020