IBM Support

JR61822: YOU MIGHT GET A COULDNOTSETPROPERTYEXCEPTION WHILE THE RESPONSE OF AN EXTERNAL REST SERVICE INVOCATION IS BEING PROCESSED

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Calling a REST service from a service task in a service flow
    might fail with the following error:
    
    com.ibm.bpm.wle.api.CouldNotSetPropertyException: CWTBG0535E:
    Property '<property>' could not be set on a variable of class
    '<class_name>'.
    
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    com.ibm.bpm.wle.api.CouldNotSetPropertyException: CWTBG0535E:
    Property '<property>' could not be set on a variable of class
    '<class_name>'.
    at
    com.lombardisoftware.client.delegate.BusinessDelegateException.a
    sBusinessDelegateException(BusinessDelegateException.java:46)
    at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateDefault.resumeTask(EJBWorkflowManagerDelegateDefault.ja
    va:125)
    at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateWebSphere$3.run(EJBWorkflowManagerDelegateWebSphere.jav
    a:60)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:703)
    ...
    Caused by: com.lombardisoftware.core.TeamWorksException: Type
    mismatch. Value TWObject[(Active: Y), (Type: TYPE_ARRAY),
    (TWClassID: TWClass.850e542f-5c91-4fca-b8e1-22155c59cd02),
    (TWClassName: sampleClassName), (Array length: 1), (MetaData:
    objectID=d567a995-c459-4100-b6d2-106d3b3c5b8d, dirty=true,
    invalid=false, shared=false, key=null, version=null,
    rootVersionContextID=null, className=null)] must be of type
    sampleClassName (SCN)
    at
    com.lombardisoftware.client.persistence.TWClass.assertValidValue
    (TWClass.java:885)
    at
    com.lombardisoftware.core.TWObject.assertValidArrayTypeValue(TWO
    bject.java:884)
    
    
    
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    

Local fix

Problem summary

  • An object with a property named "items" in a REST service
    invocation response is erroneously recognized as an array.
    

Problem conclusion

  • A fix that corrects how arrays in a REST response are recognized
     is planned for inclusion in a future release of Business
    Automation Workflow.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR61822

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    J00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-13

  • Closed date

    2020-03-13

  • Last modified date

    2025-07-13

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0.0.1","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Document Information

Modified date:
14 July 2025