IBM Support

IV19227: ARRAYINDEXOUTOFBOUNDS EXCEPTION

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: ArrayIndexOutOfBounds exception reported
    .
    Stack Trace: java.lang.ArrayIndexOutOfBoundsException: Array
    index out of range: 0
     at java.math.BigInteger.writeObject(BigInteger.java:1637)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:88)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
     at java.lang.reflect.Method.invoke(Method.java:613)
     at
    java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.ja
    va:1047)
     at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.ja
    va:1500)
     at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStrea
    m.java:1436)
     at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
    1194)
     at
    java.io.ObjectOutputStream.access$300(ObjectOutputStream.java:17
    3)
     at
    java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutput
    Stream.java:1707)
     at
    java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:4
    95)
     at java.math.BigDecimal.writeObject(BigDecimal.java:8478)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:88)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
     at java.lang.reflect.Method.invoke(Method.java:613)
     at
    java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.ja
    va:1047)
     at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.ja
    va:1500)
     at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStrea
    m.java:1436)
     at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
    1194)
     at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream
    .java:1548)
     at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.ja
    va:1513)
     at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStrea
    m.java:1436)
     at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
    1194)
     at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream
    .java:1548)
     at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.ja
    va:1513)
     at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStrea
    m.java:1436)
     at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:
    1194)
     at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:3
    63)
    .
    

Local fix

Problem summary

  • The problem is caused by BigInteger
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR1
    .
    The BigInteger has been updated to prevent the
    ArrayIndexOutOfBounds exception
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV19227

  • 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

    2012-04-09

  • Closed date

    2012-04-09

  • Last modified date

    2012-04-09

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

Modified date: 09 April 2012