IBM Support

PI95175: JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION MAY BE THROWN WHEN PARSING XML FILES LARGER THAN 64K BYTES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a large XML file is parsed that is encoded in EBCDIC and
    contains a character that is outside of the ASCII range (i.e.
    greater than 0x7F), an ArrayIndexOutOfBoundsException may be
    thrown:
    
    java.lang.ArrayIndexOutOfBoundsException: Array index out of
    range:
    131073
    at
    com.ibm.xml.xlxp2.api.util.encoding.EBCDICEncodingSupport.normal
    izeLineB
    reaksDoubleBuffered(EBCDICEncodingSupport.java:274)
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The IBM StAX parser may throw an        *
    *                      ArrayIndexOutOfBoundsException when     *
    *                      processing an XML document encoded in   *
    *                      EBCDIC.                                 *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that contains this       *
    *                  APAR.                                       *
    ****************************************************************
    When the IBM StAX parser reads a large XML document that is
    encoded in EBCDIC, an ArrayIndexOutOfBoundsException may be
    thrown if the XML document contains a character that is
    outside of the ASCII range (in other words, greater than 0x7F).
    

Problem conclusion

  • The problem was resolved by introducing an additional array
    bounds check in the IBM StAX parser's EBCDIC decoder.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.15. 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

    PI95175

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-03-14

  • Closed date

    2018-06-13

  • Last modified date

    2018-06-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PI96073

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
28 April 2022