IBM Support

PI55408: ArrayIndexOutOfBoundsException exception can occur when using XsDataOutputStream.writeVarInt(long) with a negative number.

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

  • ArrayIndexOutOfBoundsException exception can occur when
    writing an Object that has a long with a negative value in it.
    This error may be seen when using eXtreme Data Format (XDF).
    The message and exception may look similar to the one below.
    
    CWOBJ6316E: An exception occurred during java serialization
    
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    at
    com.ibm.ws.objectgrid.io.XsByteArrayInlineOutputStream.writeVari
    nt(XsByteArrayInlineOutputStream.java:301)
    at
    com.ibm.ws.objectgrid.xdf.serializers.DateSerializer2.serializeO
    bject(DateSerializer2.java:44)
    at
    com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.ser
    ializeObject(GenericClassSerializer.java:152)
    at
    com.ibm.ws.objectgrid.xdf.serializers.collections.AbstractListSe
    rializer.serializeObject(AbstractListSerializer.java:161)
    at
    com.ibm.ws.objectgrid.xdf.serializers.collections.CheckCollectio
    nTypeSerializer.serializeObject(CheckCollectionTypeSerializer.ja
    va:56)
    at
    com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.ser
    ializeObject(GenericClassSerializer.java:152)
    at
    com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serial
    izeObject(CheckTypeSerializer.java:68)
    

Local fix

  • Note
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere eXtreme Scale        *
    *                  with eXtreme Data Format (XDF) grids.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: XDF serialization may fail with         *
    *                      ArrayIndexOutOfBoundsException          *
    *                      exception when writing an Object that   *
    *                      has a long with a negative value in     *
    *                      it.                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    While writing an Object that has a long with a
    negative value in it, there may be insufficient space left in
    the XsByteArrayInlineOutputStream output stream to store the
    serialized representation causing
    the ArrayIndexOutOfBoundsException exception.
    

Problem conclusion

  • A code change was made to correct this issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI55408

  • Reported component name

    WS EXTREME SCAL

  • Reported component ID

    5724X6702

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-14

  • Closed date

    2016-03-22

  • Last modified date

    2016-03-22

  • 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

    WS EXTREME SCAL

  • Fixed component ID

    5724X6702

Applicable component levels

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTVLU","label":"WebSphere eXtreme Scale"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"860","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 March 2016