IBM Support

JR64152: AFTER YOU UPGRADE, YOU GET A CLASSCASTEXCEPTION WHEN A RESPONSE FILTER IS REFACTORED TO ACT ON GETMERGEDWORKLISTSERVICE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After you upgrade from IBM Case Manager to IBM Business
    Automation Workflow, and refactoring the response filter to act
    on GetMergedWorkListService, the same plug-in that used to work
    in IBM Case Manager against a JSONResultSetResponse results in a
     ClassCastException.
    
    The IBM Content Navigator application server log might contain
    the following:
    [9/22/21 11:11:35:674 HKT] 000001c3 SystemOut     O
    CIWEB.ICMAPIPlugin Error: [<user_id> @ <id_addr>] [REQUEST 5245]
    com.ibm.ecm.extension.PluginResponseUtil.writeJSONMediator()
    java.lang.ClassCastException: com.ibm.ecm.json.JSONResponse
    incompatible with com.ibm.ecm.json.JSONResultSetResponse
                   at <custom
    className>.GetWorkitemsResponseFilter.filter(GetWorkitemsRespons
    eFilter.java:31)
                   at
    com.ibm.ecm.util.PluginUtil.invokeResponseFilters(PluginUtil.jav
    a:1707)
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    IBM Cloud Pak for Business Automation
    

Local fix

  • Cast the JSONResponse to a JSONArray and work with the rows of
    the in-basket from the JSONArray.
    

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available or will be available that ensures your
    plug-in that used to work with a JSONResultSetResponse for an
    in-basket response filter does not result in a
    ClassCastException.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR64152

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    K00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-22

  • Closed date

    2021-10-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":"20.0.0.1","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Document Information

Modified date:
14 July 2025