IBM Support

IV66462: JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION WHILE ITERATING THROUGH THE EMPTY JAVA.UTIL.HASHTABLE AFTER DE-SERIALIZATION

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 occurs
    while iterating through a empty java.util.Hashtable with 'zero'
    capacity after de-serialization which was serialized with Java
    7.0 or Java 7.1.0
    .
    Stack Trace: java.lang.ArrayIndexOutOfBoundsException: Array
    index out of range: 0at
    java.util.Hashtable$HashIterator.hasNext(Hashtable.java:251)
    .
    

Local fix

Problem summary

  • Problem is caused because '0' capcity case is not considered in
    java.util.Hashtable implementation of releases 70, 727 and 80.
    

Problem conclusion

  • java.util.Hashtable code has been updated to handle '0' capacity
    case.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR8 FP10  (7.0.8.10)
       7 R1 SR2 FP10  (7.1.2.10)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV66462

  • 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

    2014-10-31

  • Closed date

    2014-11-24

  • Last modified date

    2014-12-02

  • 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 #: IV66462

Modified date: 02 December 2014