Skip to main content

IV27958: JAVA.LANG.ILLEGALARGUMENTEXCEPTION IN PARSEUTIL.DECODE


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: 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

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
6.0


Reference #:
IV27958


Modified date:
2012-09-14

Translate my page

Content navigation