IBM Support

PH04118: 500 INTERNAL SERVER ERROR WITH NULLPOINTEREXCEPTION MESSAGE RETURNS WHEN CICS RECEIVES A DELETE REQUEST WITH BODY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When CICS receives a body on a JSON RESTful DELETE request, it
    returns a 500 Internal Server Error, with a
    NullPointerException message in the response payload.
    Response:
    500 Internal Server Error
    {
    "exception": {
    "message": "java.lang.NullPointerException: null",
    "class": "java.lang.NullPointerException"
    }
    Additional Symptom(s) Search Keyword(s): NullPointerException,
    DELETE, KIXREVSJH
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: JSON web service receive a HTTP DELETE  *
    *                      request with a body then the request    *
    *                      fails with a HTTP 500 Internal Server   *
    *                      Error and response saying a             *
    *                      NullPointerException occurred.          *
    ****************************************************************
    A HTTP DELETE request with a body is sent to a RESTful JSON web
    service.  The CICS pipeline does not attempt to process any body
    associated with a DELETE request.  The presence of the body
    causes CICS code to suffer a NullPointerException and a 500
    Internal Server Error is returned to the client.
    

Problem conclusion

  • The CICS JSON processing code has been changed to tolerate a
    body on a DELETE request.  The contents of the body must match
    the JSON schema used by this service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH04118

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-16

  • Closed date

    2019-03-03

  • Last modified date

    2019-04-02

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

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

    UI61628 UI61629 UI61630 UI61631 UI61632

Modules/Macros

  • DFJ@H340
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R00D PSY UI61632

       UP19/03/08 P F903

  • R10D PSY UI61630

       UP19/03/05 P F903

  • R200 PSY UI61631

       UP19/03/05 P F903

  • R80D PSY UI61628

       UP19/03/05 P F903

  • R90D PSY UI61629

       UP19/03/05 P F903

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.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 April 2019