IBM Support

IV39218: JAVA.LANG.STRINGINDEXOUTOFBOUNDSEXCEPTION CAUSED BY INVALID USE OF GETSTRINGUTFREGION()

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:
    The customer may see  a
    java.lang.StringIndexOutOfBoundsException exception.
    
    Trace: The exception will most likely contain the fragment:
    Caused by: java.lang.StringIndexOutOfBoundsException
            at sun.awt.UNIXToolkit.load_gtk_icon(Native Method)
            at sun.awt.UNIXToolkit.getGTKIcon(UNIXToolkit.java:176)
    

Local fix

Problem summary

  • Invalid usage for JNI GetStringUTFRegion().
    Java String length or UTF8 buffer size is not correct
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR5
    .
    For JNI GetStringUTFRegion(), recalculate?@Java String length or
    UTF8 buffer size.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV39218

  • 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-04-03

  • Closed date

    2013-05-14

  • Last modified date

    2013-06-25

  • 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



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IV39218

Modified date: 25 June 2013