IV27958: JAVA.LANG.ILLEGALARGUMENTEXCEPTION IN PARSEUTIL.DECODE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.IllegalArgumentException
    .
    Stack Trace: java.lang.IllegalArgumentException
            at sun.net.www.ParseUtil.decode(ParseUtil.java:185)
            at sun.net.www.ParseUtil.toURI(ParseUtil.java:267)
            at
    sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURL
    Connection.java:905)
            at
    sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConne
    ction.java:836)
            at TestURL.main(TestURL.java:13)
    URL Test Pass
    .
    java.lang.IllegalArgumentException is  thrown when open a url
    connections with url parameter include characters that takes
    more than two-bytes - supplementary plane in unicode
    

Local fix

  • N/A
    

Problem summary

  • The problem is caused as when a URLConnection is opened to a URL
    which contains space chars (or any other character that needs to
    be encoded), the URL is encoded twice when its passed to cache.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR12
    7.0.0 SR3
    6.0.1 SR4
    .
    JVM has been updated to handle the URL which contain space chars
    to prevent the exception.
    

Temporary fix

  • N/A
    

Comments

APAR Information

  • APAR number

    IV27958

  • 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-09-14

  • Closed date

    2012-09-14

  • Last modified date

    2012-09-14

  • 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



Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV27958

Modified date:

2012-09-14

Translate my page

Content navigation