IBM Support

IV53592: ARRAYINDEXOUTOFBOUNDSEXCEPTION AND JAVA.LANG.EXCEPTION: MALFORME D WITH UTF-16

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

  • Error Message: Customer encountered
    ArrayIndexOutOfBoundsException and java.lang.Exception:
    MALFORMED with UTF-16.
    .
    Stack Trace: java.lang.ArrayIndexOutOfBoundsException: Array
    index out of range: 5
            at
    sun.nio.cs.UTF16_Encoder.encodeLoop(UTF16_Encoder.java:126)
            at
    java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:555)
            at UTF16EncoderTest.main(UTF16EncoderTest.java:19)
    java.lang.Exception: MALFORMED<OSB>1<CSB>
            at UTF16EncoderTest.main(UTF16EncoderTest.java:37)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • While encoding, the local offset value of output buffer was not
    considered and hence the reported exception.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR16
    6.0.1 SR8
    7.0.0 SR7
    7.1.0 SR1
    .
    The JDK has been updated to consider the local offset value of
    the output buffer during encoding.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV53592

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-12-30

  • Closed date

    2014-02-27

  • Last modified date

    2014-04-30

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 April 2014