IBM Support

IV43472: JAVA.LANG.ILLEGALARGUMENTEXCEPTION FROM INPUTSTREAMREADER.READ() WITH DBCS EBCDIC DECODER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: java.lang.IllegalArgumentException
            at java.nio.Buffer.position(Buffer.java:247)
            at
    sun.nio.cs.ext.DBCS_IBM_EBCDIC_Decoder.decodeArrayLoop(DBCS_IBM_
    EBCDIC_Decoder.java:157)
            at
    sun.nio.cs.ext.DBCS_IBM_EBCDIC_Decoder.decodeLoop(DBCS_IBM_EBCDI
    C_Decoder.java:1094)
            at
    java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:561)
            at
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:356)
            at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:210)
            at
    java.io.InputStreamReader.read(InputStreamReader.java:205)
    .
    

Local fix

Problem summary

  • The IllegalArgumentException was thrown while DBCS EBCDIC
    decoder decodes the data. Exception occurred due to the improper
    positioning in the decoded array of non-zero offset.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR6
    .
    The JDK has been updated to set the position appropriately while
    decoding arrays with non-zero offset of NIO DBCS EBCDIC Decoder.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV43472

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-31

  • Closed date

    2013-06-30

  • Last modified date

    2013-06-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

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022