IBM Support

IZ96507: CHARACTER ENCODING FAILURES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Some of the charsets present in Java6 report
    either unmappable or Malformed character erros
    .
    Stack Trace: Malformed char xxxxx for charset x-IBMxxx at x
    Unmappable char xxxxx for charset x-ISO-xxxx-xx-xx at x
    x-IBMxxx x strings not equal
    java.nio.charset.MalformedInputException: Input length = 1
            at
    java.nio.charset.CoderResult.throwException(CoderResult.java:272
    )
            at
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:343)
            at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
            at
    java.io.InputStreamReader.read(InputStreamReader.java:181)
            at java.io.Reader.read(Reader.java:135)
            at TestCharsets.main(TestCharsets.java:142)
    java.lang.ArrayIndexOutOfBoundsException
            at
    sun.nio.cs.ext.DBCS_IBM_EBCDIC_Decoder.convertType2(DBCS_IBM_EBC
    DIC_Decoder.java:680)
            at
    sun.nio.cs.ext.DBCS_IBM_EBCDIC_Decoder.convertSlow(DBCS_IBM_EBCD
    IC_Decoder.java:184)
            at
    sun.nio.cs.ext.DBCS_IBM_EBCDIC_Decoder.decodeArrayLoop(DBCS_IBM_
    EBCDIC_Decoder.java:146)
            at
    sun.nio.cs.ext.DBCS_IBM_EBCDIC_Decoder.decodeLoop(DBCS_IBM_EBCDI
    C_Decoder.java:1225)
            at
    java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:556)
            at
    sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:4
    86)
            at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:222)
            at
    java.io.InputStreamReader.read(InputStreamReader.java:177)
            at java.io.Reader.read(Reader.java:135)
            at TestCharsets.main(TestCharsets.java:142)
    .
    Customer informed that he runs a test program which attempts to
    validate the encoding and decoding characters present in all
    installed encodings in JDK 6. He reported that test program
    fails to run on following converters:
    IBM01140
    IBM01141
    IBM01142
    IBM01143
    IBM01144
    IBM01145
    IBM01146
    IBM01147
    IBM01148
    IBM01149
    IBM1141_LF
    x-EUC_CN
    x-EUC_TW
    x-IBM1041
    x-IBM1088
    x-IBM833
    x-IBM942
    

Local fix

Problem summary

  • The problem is caused due to incorrect mappings present in JDK
    converter tables for following code pages:
    IBM01140
    IBM01141
    IBM01142
    IBM01143
    IBM01144
    IBM01145
    IBM01146
    IBM01147
    IBM01148
    IBM01149
    IBM1141_LF
    x-EUC_CN
    x-EUC_TW
    x-IBM1041
    x-IBM1088
    x-IBM833
    x-IBM942
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR10
    7.0.0 SR1
    .
    JVM has been fixed to avoid charsets reporting Unmappable char
    and Malformed char error messages. Also fixed encoding &
    decoding errors for reported code pages.
    .
    To obtain the fix:
    Install build 20111028 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ96507

  • 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

    2011-03-11

  • Closed date

    2011-11-03

  • Last modified date

    2012-05-28

  • 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

[{"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:
28 May 2012