IBM Support

IV47787: ARRAYINDEXOUTOFBOUNDSEXCEPTION WITH SOME FONTS USING LINEBREAKME ASURER

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.ArrayIndexOutOfBoundsException
    .
    Stack Trace: Java Stack :-
    Exception in thread "main"
    java.lang.ArrayIndexOutOfBoundsException: Array index out of
    range: 0
    at
    sun.font.ExtendedTextSourceLabel.createCharinfo(ExtendedTextSour
    ceLabel.java:568)
    at
    sun.font.ExtendedTextSourceLabel.getCharinfo(ExtendedTextSourceL
    abel.java:468)
    at
    sun.font.ExtendedTextSourceLabel.getLineBreakIndex(ExtendedTextS
    ourceLabel.java:414)
    at
    java.awt.font.TextMeasurer.calcLineBreak(TextMeasurer.java:337)
    at
    java.awt.font.TextMeasurer.getLineBreakIndex(TextMeasurer.java:5
    73)
    at
    java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.jav
    a:362)
    at
    java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.jav
    a:444)
    at
    java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.jav
    a:417)
    ...
    ...
    .
    

Local fix

Problem summary

  • The JDK is not able to handle the condition when the number of
    glyphs in a  font is zero.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR16 FP4
    7.0.0 SR6
    6.0.1 SR7
    6.0.0 SR15
    .
    The JDK  has been updated to handle the situation when the
    number of glyphs in a font is zero.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV47787

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

  • Closed date

    2013-09-10

  • Last modified date

    2013-10-03

  • APAR is sysrouted FROM one or more of the following:

    IV47068

  • 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

  • R600 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IV47787

Modified date: 03 October 2013