IBM Support

PI63542: ArrayIndexOutOfBoundsException may occur when doing a JNDI-looku p to a remote EJB that is located in another cell

Fixes are available

16.0.0.3: WebSphere Application Server Liberty 16.0.0.3
16.0.0.4: WebSphere Application Server Liberty 16.0.0.4
17.0.0.1: WebSphere Application Server Liberty 17.0.0.1
17.0.0.2: WebSphere Application Server Liberty 17.0.0.2
17.0.0.3: WebSphere Application Server Liberty 17.0.0.3
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12
21.0.0.3: WebSphere Application Server Liberty 21.0.0.3
21.0.0.4: WebSphere Application Server Liberty 21.0.0.4
21.0.0.5: WebSphere Application Server Liberty 21.0.0.5
21.0.0.6: WebSphere Application Server Liberty 21.0.0.6
21.0.0.7: WebSphere Application Server Liberty 21.0.0.7
21.0.0.8: WebSphere Application Server Liberty 21.0.0.8
21.0.0.9: WebSphere Application Server Liberty 21.0.0.9
21.0.0.1: WebSphere Application Server Liberty 21.0.0.1
21.0.0.2: WebSphere Application Server Liberty 21.0.0.2
21.0.0.10: WebSphere Application Server Liberty 21.0.0.10
21.0.0.11: WebSphere Application Server Liberty 21.0.0.11
21.0.0.12: WebSphere Application Server Liberty 21.0.0.12
22.0.0.1: WebSphere Application Server Liberty 22.0.0.1
22.0.0.2: WebSphere Application Server Liberty 22.0.0.2
22.0.0.3: WebSphere Application Server Liberty 22.0.0.3
22.0.0.4: WebSphere Application Server Liberty 22.0.0.4

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A java.lang.ArrayIndexOutOfBoundsException may occur, when
    trying to lookup an EJB that is stored on cluster level of
    another
    WebSphere Application Server cell from a Liberty server.
    
    For example, when looking up a EJB with the following
    jndi-name:
    
    "corbaname::hostname:port/NameServiceServerRoot#com/ibm/webs
    pher
    e/ejbquery/Query";
    
    In such a situation the following exception may occur:
    
    [23/05/16 13:43:12:559 CEST] 00000024 Delegate      1
    Received
    RuntimeException
    java.lang.ArrayIndexOutOfBoundsException: Array index out of
    range: 3
    at
    org.apache.yoko.orb.OCI.IIOP.Util.extractAllProfileInfos(Uti
    l.ja
    va:275)
    at
    org.apache.yoko.orb.OCI.IIOP.Connector_impl.get_usable_profi
    les(
    Connector_impl.java:372)
    at
    org.apache.yoko.orb.OB.GIOPClient.getUsableProfiles(GIOPClie
    nt.j
    ava:325)
    at
    org.apache.yoko.orb.OB.ClientManager.getClientProfilePairs(C
    lien
    tManager.java:236)
    at
    org.apache.yoko.orb.OB.DowncallStub.getClientProfilePair(Dow
    ncal
    lStub.java:118)
    at
    org.apache.yoko.orb.OB.DowncallStub.createLocateRequestDownc
    all(
    DowncallStub.java:206)
    at
    org.apache.yoko.orb.OB.DowncallStub.locate_request(DowncallS
    tub.
    java:399)
    at
    org.apache.yoko.orb.CORBA.Delegate._OB_getDowncallStub(Deleg
    ate.
    java:1053)
    at
    org.apache.yoko.orb.CORBA.Delegate.request(Delegate.java:515
    )
    at
    org.apache.yoko.orb.CORBA.Delegate.is_a(Delegate.java:356)
    at
    org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:56)
    at
    com.ibm.ws.jndi.iiop.OrbContext.lookup(OrbContext.java:46)
    ...
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: ArrayIndexOutOfBoundsException in       *
    *                      org.apache.yoko.orb.OCI.IIOP.Util.extra *
    *                      ctAllProfileInfos()                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Customer reported an exception starting with the following stack
    trace:
            java.lang.ArrayIndexOutOfBoundsException: Array index
    out of range: 3
                at
    org.apache.yoko.orb.OCI.IIOP.Util.extractAllProfileInfos(Util.ja
    va:275)
                at
    org.apache.yoko.orb.OCI.IIOP.Connector_impl.get_usable_profiles(
    Connector_impl.java:372)
                at
    org.apache.yoko.orb.OB.GIOPClient.getUsableProfiles(GIOPClient.j
    ava:325)
                ...
    

Problem conclusion

  • The exception occurs due to a bug in handling loop iterators in
    Yoko when reading in an IOR containing CSI_SEC_MECH_LIST tagged
    components.
    (In the customer's scenario, the IOR containing these tagged
    components was returned from WebSphere Application Server.)
    
    The fix eliminates use of nested loop iterators in this part of
    Yoko code, avoiding the possibility of this exception
    occurring.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 16.0.0.3.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI63542

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-07

  • Closed date

    2016-08-16

  • Last modified date

    2016-08-16

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2022