IBM Support

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

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

  • 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

    2021-10-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

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0.0.1"}]

Document Information

Modified date:
14 October 2021