IBM Support

PH20373: JAVA.LANG.INDEXOUTOFBOUNDSEXCEPTION THROWN FROM COM.IBM.EJS.CONTAINER.BEANO.REASSOCIATEHANDLELIST

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Following error was found after running a soak test for 12
    hours:
    
    [4/12/19 5:09:34:693 AEDT] 000000cd LocalExceptio E CNTR0019E:
    EJB threw an unexpected (non-declared) exception during
    invocation of method "getChannelTimeOut". Exception data:
    com.ibm.websphere.csi.CSIException: ; nested exception is:
    
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at
    com.ibm.ejs.container.BeanO.reAssociateHandleList(BeanO.java:194
    7)
    at
    com.ibm.ejs.container.EJBThreadData.pushCallbackBeanO(EJBThreadD
    ata.java:215)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1332)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1373)
    at
    com.ibm.ejs.container.activator.UncachedActivationStrategy.atAct
    ivate(UncachedActivationStrategy.java:89)
    at
    com.ibm.ejs.container.activator.Activator.preInvokeActivateBean(
    Activator.java:324)
    at
    com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContaine
    r.java:3740)
    at
    com.ibm.ejs.container.EJSContainer.EjbPreInvoke(EJSContainer.jav
    a:3054)
    .
    <lines removed>
    .
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size:
    0
    at java.util.ArrayList.rangeCheck(ArrayList.java:652)
    at java.util.ArrayList.get(ArrayList.java:428)
    at com.ibm.ejs.j2c.HandleList.reAssociate(HandleList.java:266)
    at
    com.ibm.ejs.container.BeanO.reAssociateHandleList(BeanO.java:194
    3)
    ... 73 more
    

Local fix

  • No local fix.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server using connection handle list.        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Index out of bounds exception can       *
    *                      occur intermittently under high load    *
    *                      with some application not using         *
    *                      get/use/close                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following error may occur, Caused by:
    java.lang.IndexOutOfBoundsException: Index: 0, Size:
    0
    at java.util.ArrayList.rangeCheck(ArrayList.java:652)
    at java.util.ArrayList.get(ArrayList.java:428)
    at com.ibm.ejs.j2c.HandleList.reAssociate(HandleList.java:266)
    at
    com.ibm.ejs.container.BeanO.reAssociateHandleList(BeanO.java:194
    

Problem conclusion

  • Most applications will not encounter this exception.
    Additional synchronization was added to protect the array list
    in the handle list code.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.18 and 9.0.5.4.  For more information, see
    'Recommended Updates for WebSphere Application Server':
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH20373

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-17

  • Closed date

    2020-03-23

  • Last modified date

    2020-03-23

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021