IBM Support

JR59863: YOU MIGHT RECEIVE THE CONCURRENTMODIFICATIONEXCEPTION WHEN YOU CALL REST APIS

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.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • When you make REST API calls, you might see
    ConcurrentModificationExceptions like the following exception:
    
    
    Unexpected exception during execution. Exception information:
    ''{0}''.
    java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextNode(HashMap.java:1453)
    at java.util.HashMap$EntryIterator.next(HashMap.java:1487)
    at java.util.HashMap$EntryIterator.next(HashMap.java:1485)
    at java.util.AbstractMap.toString(AbstractMap.java:565)
    at java.lang.String.valueOf(String.java:3366)
    at com.ibm.bpm.rest.impl.service.ServiceRunnerManager.
       initOldWebWFM(ServiceRunnerManager.java:136)
    at com.ibm.bpm.rest.impl.service.ServiceRunnerManager.
       getInstance(ServiceRunnerManager.java:92)
    at com.ibm.bpm.rest.impl.service.StartActionHandler.
       getServiceRunner(StartActionHandler.java:856)
    at com.ibm.bpm.rest.impl.service.StartActionHandler.
       handleActionGetModel(StartActionHandler.java:328)
    at com.ibm.bpm.rest.impl.service.StartActionHandler.
       handleAction(StartActionHandler.java:374)
    at com.ibm.bpm.rest.impl.service.ServiceResource.
       postServiceActions(ServiceResource.java:515)
    

Local fix

  • Reduce REST API trace to a trace level less than 'finer'
    

Problem summary

  • In high-load scenarios a non-synchronized hash map is read and
    traced while it is updated. As a result, you receive a
    ConcurrentModificationException.
    
    PRODUCTS AFFECTED
    IBM BPM Advanced
    IBM BPM Standard
    IBM Business Automation Workflow
    

Problem conclusion

  • A fix that synchronizes the access to this hash map so that you
    do not receive the exception will be available in a future
    release of IBM Business Automation Workflow.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR59863

  • Reported component name

    BPM

  • Reported component ID

    5737A5700

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-07

  • Closed date

    2018-10-12

  • Last modified date

    2018-10-12

  • 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

    BPM

  • Fixed component ID

    5737A5700

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFPJS","label":"IBM Business Process Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.6.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 September 2022