IBM Support

PH49911: IBM DEVELOPER FOR Z/OS - SCAN FOR COMPATIBILITY PRODUCES JAVA NULL POINTER ERROR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Issuing the IDz Menu option, Scan for Compatibility from the
    Remote Systems: Local Files view produces the following Java
    Null Pointer Error.  Running the tool on a source file in the
    Local zOS projects view or from a member in a PDS on the host
    does not produce the problem.
    
    !ENTRY org.eclipse.core.jobs 4 2 20yy-mm-dd 12:48:32.979
    !MESSAGE An internal error occurred during: "Scanning for
    Compatibility...".
    !STACK 0
    java.lang.NullPointerException
        at
    com.ibm.ftt.resource.uss.PBResourceUssUtils.convertResource(PBRe
    sourceUssUtils.java:978)
        at
    com.ibm.ftt.rse.cobol.scan.analyzer.COBOLCallAnalyzer.checkForMi
    ssingCallees(COBOLCallAnalyzer.java:457)
        at
    com.ibm.ftt.rse.cobol.scan.analyzer.COBOLCallAnalyzer.parseUsing
    CodeReview(COBOLCallAnalyzer.java:395)
        at
    com.ibm.ftt.rse.cobol.scan.analyzer.COBOLCallAnalyzer.scan(COBOL
    CallAnalyzer.java:161)
        at
    com.ibm.ftt.rse.cobol.scan.jobs.AbstractDownloadAndScanJob.downl
    oadAndScan(AbstractDownloadAndScanJob.java:86)
        at
    com.ibm.ftt.rse.cobol.scan.jobs.AbstractDownloadAndScanJob.run(A
    bstractDownloadAndScanJob.java:64)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
    

Local fix

  • Place your source file in a Local zOS Project or in a member of
    a PDS on the host and run the Scan for Compatibility tool from
    there.
    

Problem summary

  • The Scan for Compatibility action is meant to be used by
    selecting multiple COBOL sources in a Local  z/OS Project, or a
    remote z/OS Project or from the MVS file system in the Remote
    Systems View, and then running the action.
    

Problem conclusion

  • The exception was resolved by recognizing that a resource had
    been selected in the Local file system in the Remote Systems
    view and handling this scenario.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH49911

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    F00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-29

  • Closed date

    2022-11-17

  • Last modified date

    2022-11-17

  • 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/OS

  • Fixed component ID

    5724T0700

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"F00"}]

Document Information

Modified date:
18 November 2022