IBM Support

IV85452: ARRAYINDEXOUTOFBOUNDSEXCEPTION IN JAVAX.SWING.TEXT.HTML.PARSER.C ONTENTMODEL.FIRST()

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: N/A
    .
    Stack Trace: Exception in thread "main"
    java.lang.ArrayIndexOutOfBoundsException: Array index out of
    range: 16
    at
    javax.swing.text.html.parser.ContentModel.first(ContentModel.jav
    a:171)
    .
    

Local fix

Problem summary

  • ContentModel.first(Element) uses cache for elements. It is
    implied all the possible elements are already created before you
    call first(Element) method for the first time. The problem has
    happened because the cache is not reset when a new Element
    instance is used for calling first(Element).
    

Problem conclusion

  • JDK is updated to reset the cache when an "unknown" Element is
    used as parameter to first(Element)
    .
    This APAR will be fixed in the following Java Releases:
       6 R1 SR8 FP30  (6.1.8.30)
       7 R1 SR3 FP50  (7.1.3.50)
       7    SR9 FP50  (7.0.9.50)
       6    SR16 FP30 (6.0.16.30)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV85452

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-03

  • Closed date

    2016-06-22

  • Last modified date

    2016-06-22

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 June 2016