IBM Support

PI40014: USING THE "SEND HTTP CALL" STEP OF THE WEB UTILITIES PLUGIN FAILS WHEN MAKING A POST OR PUT REQUEST WITH AN EMPTY PAYLOAD

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as unreproducible in next release.

Error description

  • The Web Utilities plugin contains a step called "Send HTTP
    Call". When configured to use the PUT or POST methods, if a
    request body is not specified in the "Data / Data File" field,
    the step will fail. The log will contain  the following output:
    
    Caught: java.lang.NullPointerException
    java.lang.NullPointerException
    	at
    groovyx.net.http.HTTPBuilder$RequestConfigDelegate.setBody(HTTPB
    uilder.java:1204)
    	at
    groovyx.net.http.HTTPBuilder$RequestConfigDelegate.setProperties
    FromMap(HTTPBuilder.java:1115)
    	at
    groovyx.net.http.HTTPBuilder$RequestConfigDelegate.<init>(HTTPBu
    ilder.java:950)
    	at groovyx.net.http.RESTClient.post(RESTClient.java:141)
    	at groovyx.net.http.RESTClient$post.call(Unknown Source)
    	at sendHttpCall.run(sendHttpCall.groovy:138)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * UCD users using the web-utility v1 plugin step to call       *
    * PUT/POST HTTP request with an empty body.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Throws a null pointer exception when calling a PUT/POST HTTP *
    * request with an empty body in version 1 of the web-utilities *
    * plugin.                                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to current plugin version and read step              *
    * documentation as there is a non-obvious requirement in this  *
    * use case.                                                    *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

  • Expanded some of the documentation on the current version of the
    plugin in regards to this issue as well.
    

APAR Information

  • APAR number

    PI40014

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    610

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-28

  • Closed date

    2015-11-25

  • Last modified date

    2015-11-25

  • 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

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

  • R600 PSN

       UP

  • R600 PSY

       UP

  • R601 PSN

       UP

  • R601 PSY

       UP



Document information

More support for: IBM UrbanCode Deploy

Software version: 6.1

Reference #: PI40014

Modified date: 25 November 2015