IBM Support

PH16324: When trying to create an environment with required properties via the REST API, you get 'Error processing command'

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

  • Creating an environment from template with required properties
    using REST API fails with error: "Error processing command:
    Value for property named MyEnvProp is required but was empty."
    even though one provided the value in the JSON.
    
    Exception in deployserver.out of 7.0.0.1:
    
    2019-08-06 15:26:04,753 CEST ERROR
    https-jsse-nio-0.0.0.0-8443-exec-9
    com.urbancode.ds.web.util.UCDExceptionMapper - Value for
    property named MyEnvProp is required but was empty.
     com.urbancode.air.i18n.TranslatableException: Value for
    property named MyEnvProp is required but was empty.
     at
    com.urbancode.air.property.prop_value.PropValue.isValidValue(Pro
    pValue.java:255)
     at
    com.urbancode.air.property.prop_value.PropValue.setValue(PropVal
    ue.java:271)
     at
    com.urbancode.air.property.prop_sheet.PropSheet.setPropValue(Pro
    pSheet.java:552)
     at
    com.urbancode.air.property.prop_sheet.PropSheet.setPropValue(Pro
    pSheet.java:580)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All end users on all supported browsers.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Creating an environment from template with required          *
    * properties                                                   *
    * using REST API fails with error: "Error processing command:  *
    * Value for property named MyEnvProp is required but was       *
    * empty."                                                      *
    * even though one provided the value in the JSON.              *
    *                                                              *
    * Exception in deployserver.out of 7.0.0.1:                    *
    *                                                              *
    * 2019-08-06 15:26:04,753 CEST ERROR                           *
    * https-jsse-nio-0.0.0.0-8443-exec-9                           *
    * com.urbancode.ds.web.util.UCDExceptionMapper - Value for     *
    * property named MyEnvProp is required but was empty.          *
    *  com.urbancode.air.i18n.TranslatableException: Value for     *
    * property named MyEnvProp is required but was empty.          *
    *  at                                                          *
    * com.urbancode.air.property.prop_value.PropValue.isValidValue *
    * (Pro                                                         *
    * pValue.java:255)                                             *
    *  at                                                          *
    * com.urbancode.air.property.prop_value.PropValue.setValue(Pro *
    * pVal                                                         *
    * ue.java:271)                                                 *
    *  at                                                          *
    * com.urbancode.air.property.prop_sheet.PropSheet.setPropValue *
    * (Pro                                                         *
    * pSheet.java:552)                                             *
    *  at                                                          *
    * com.urbancode.air.property.prop_sheet.PropSheet.setPropValue *
    * (Pro                                                         *
    * pSheet.java:580)                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Fixed in version 7.0.5.0                                     *
    ****************************************************************
    

Problem conclusion

  • Fix is provided in IBM UrbanCode Deploy 7.0.5.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH16324

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-03

  • Closed date

    2020-01-14

  • Last modified date

    2020-01-14

  • 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":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 January 2020