IBM Support

PH32789: DFHJS2LS NULLPOINTEREXCEPTION WITH LOGICAL COMPOSITOR CONTAINING OBJECTS WITH PROPERTIES 21/01/28 PTF PECHANGE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DFHJS2LS throws a NullPointerException in js2ls method
    resolveAndCombineJSONObjectFromObject, when processing
    a JSON schema with a logical compostior containing multiple
    objects with properties within. Resulting in RC=12 when
    DFHJS2LS ends with message: 'DFHPI9500E An internal error has
    occurred. Please contact IBM Support.'
    
    java.lang.NullPointerException
    at com.ibm.cics.wsdl.ws2ls.js2ls.resolveAndCombineJSONObjectFrom
    Object(js2ls.java:957)
    at com.ibm.cics.wsdl.ws2ls.js2ls.resolveObjectUsingLogicalCompos
    ition(js2ls.java:1082)
    at com.ibm.cics.wsdl.ws2ls.js2ls.resolveAndCombineJSONObjectFrom
    Object(js2ls.java:926)
    at com.ibm.cics.wsdl.ws2ls.js2ls.appendObjectToWsdl(js2ls.java:1
    981)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users with UI72808 applied.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHJS2LS may fail RC=12 with a          *
    *                      NullPointerException after the          *
    *                      application of APAR PH30465 (PTF        *
    *                      UI72808), when using logical            *
    *                      compositors which contain objects       *
    *                      with properties. This resulting in      *
    *                      DFHJS2LS failing with message:          *
    *                       DFHPI9500E An internal error has       *
    *                       occurred. Please contact IBM Support.  *
    ****************************************************************
    When an object within a JSON schema has a logical compositor
    (such as allOf, oneOf and anyOf) which contains another logical
    compositor. If objects within these child logical compositors
    contains JSON schema properties, after application of the PTF
    for APAR PH30465, when these properties are processed, a
    NullPointerException may be thrown and DFHJS2LS will fail with
    RC 12.
    
    Method resolveAndCombineJSONObjectFromObject may have a
    NullPointerException in the case due to an expected NULL value
    being returned during the processing of the logical compositors.
    Due to this NullPointerException in method
    resolveAndCombineJSONObjectFromObject, message DFHPI9500E will
    be output in DFHJS2LS, with return code 12.
    

Problem conclusion

  • UI72808 UI73138
    Logic in resolveAndCombineJSONObjectFromObject for DFHJS2LS
    has been corrected to cope with resolveJSONObjectFromObject
    returning NULL in this scenario, preventing the
    NullPointerException seen, and the message DFHPI9500E.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH32789

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-12-17

  • Closed date

    2021-01-28

  • Last modified date

    2021-02-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI73659

Modules/Macros

  • DFHMEPIC DFHMEPIE DFHMEPIK DFJ@H176
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R300 PSY UI73659

       UP21/01/29 P F101 {

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.6"}]

Document Information

Modified date:
02 February 2021