IBM Support

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

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you make REST API calls, you might see
    ConcurrentModificationExceptions like the following exception:
    
    CWTBG0019E: Unexpected exception during execution. Exception
    information:
    java.util.ConcurrentModificationException
     at java.util.HashMap$AbstractMapIterator.
      checkConcurrentMod(HashMap.java:193)
     at java.util.HashMap$AbstractMapIterator.makeNext
      (HashMap.java:198)
     at java.util.HashMap$EntryIterator.next(HashMap.java:259)
     at java.util.HashMap$EntryIterator.next(HashMap.java:252)
     at java.util.AbstractMap.toString(AbstractMap.java:608)
     at java.lang.String.valueOf(String.java:1528)
     at com.ibm.bpm.rest.impl.service.ServiceRunnerManager.
      initOldWebWFM(ServiceRunnerManager.java:113)
     at com.ibm.bpm.rest.impl.service.ServiceRunnerManager.
      getInstance(ServiceRunnerManager.java:68)
     at com.ibm.bpm.rest.impl.service.ServiceResource.
      getServiceActions(ServiceResource.java:105)
    
    
       The ConcurrentModificationException is thrown by newer Java
    versions. In older Java versions, Java does
    not detect it, so subsequent errors occur; including
    NegativeArraySizeException.
    
    CWTBG0019E: Unexpected exception during
    execution.
    
    com.ibm.bpm.wle.api.UnexpectedFailureException: CWTBG0019E:
    Unexpected
    exception during execution.
    java.lang.NegativeArraySizeException
        at java.lang.StringBuilder.<init>(StringBuilder.java:66)
        at java.util.AbstractMap.toString(AbstractMap.java:604)
        at java.lang.String.valueOf(String.java:1530)
        at
    com.ibm.bpm.rest.impl.service.ServiceRunnerManager.initOldWebWFM
    (ServiceRunnerManager.java:105)
        at
    com.ibm.bpm.rest.impl.service.ServiceRunnerManager.getInstance(S
    erviceRunnerManager.java:66)
        at
    com.ibm.bpm.rest.impl.service.StartActionHandler.handleAction(St
    artActionHandler.java:129)
    

Local fix

Problem summary

  • In high-load scenarios, a non-synchronized hash map is read and
    traced while it is updated. As a result, you receive the
    ConcurrentModification exception.
    

Problem conclusion

  • A fix is available for IBM BPM V7.5.1.2 that synchronizes the
    access to this hash map so that you do not receive the
    exception.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR55109:
    
    1. Select IBM Business Process Manager with your edition from
      the product selector, the installed version to the fix pack
      level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR55109, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

  • Not applicable
    

Comments

APAR Information

  • APAR number

    JR55109

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-14

  • Closed date

    2016-03-04

  • Last modified date

    2016-06-03

  • 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 STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R751 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
03 June 2016