IBM Support

IV33711: ConversionBufferFullException while reading data from console with UTF-8 encoding

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: sun.io.ConversionBufferFullException from
    sun.io.CharToByteUTF8.convert()
    .
    Stack Trace: N/A
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • If the console encoding is different from default encoding
    (file.encoding), the data has to be converted to default
    encoding while reading any input data from the console. While
    doing the conversion, JDK currently uses the same buffer size
    for input and output buffers. For non-SBCS like UTF-8, while
    converting char to byte, one character may need more than one
    byte size. As the destination buffer is not large enough, it can
    result in ConversionBufferFullException.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR13
    6.0.1 SR5
    7.0.0 SR4
    .
    The JDK is updated to provide the correct buffer sizes for
    source and destination buffers.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV33711

  • 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

    2012-12-18

  • Closed date

    2012-12-28

  • Last modified date

    2012-12-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

  • 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:
28 December 2012