IBM Support

PI91900: JENKINS PIPELINE PLUGIN - ERROR: COULD NOT REQUEST APPLICATION PROCESS: 400 BAD REQUEST

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

  • You will receive the following error when deploying
    application processes:
    java.lang.NullPointerException
    at
    com.urbancode.ds.web.rest.config.ApplicationProcessResource.getU
    nfilledProperties(ApplicationProcessResource.java:1063)
    
    This error happens because they are using UCD version 6.2.0 and
    the unfilled properties endpoint for application processes
    (/cli/applicationProcess/unfilledProperties) with UCD 6.2.0
    always executed the corresponding function with the snapshot
    parameter even if it was null.
    
    The error was fixed with UCD 6.2.0.2. However, the
    uDeployRestClient project doesn't currently allow passing the
    snapshot parameter at all. So, even if the user supplies a
    snapshot, they will still receive a NPE with UCD 6.2.0.
    
    The Jenkins plugin checks for any unfilled application process
    properties before deploying as to avoid an indecipherable error
    experienced when deploying with unfilled properties. So, this
    means that even with versions of UCD where the defect was
    corrected (6.2.0.2 and up) users are unable to deploy an
    application process with a snapshot, and must deploy with a
    component version.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All end users on all supported browsers.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The user was seeing a null pointer exception when they       *
    * attempted to deploy using a snapshot. The plugin was hitting *
    * the component version endpoint, which is subsequently broken *
    * in UCD 6.2.0, resulting in the null pointer.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The fix was to correctly execute the deployment using the
    endpoint to request an application process with a snapshot. The
    fix is released with the current version of the plugin.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI91900

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-27

  • Closed date

    2018-03-07

  • Last modified date

    2018-03-07

  • 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

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 March 2018