IBM Support

IC82439: INTERMITTENT JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION THROWN FROM A JCC APPLICATION CALLING A STORED PROCEDURE.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • SQL Stored procedure call from a JDBC application, supposed to
    return 'n' number of rows, sporadically tries to get 'n+1'
    th row and fails with java.lang.ArrayIndexOutOfBoundsException
    during runtime:
    
    Exception in thread "main"
    java.lang.ArrayIndexOutOfBoundsException: 32712
    at com.ibm.db2.jcc.a.f.d(f.java:139)
    at com.ibm.db2.jcc.a.f.b(f.java:69)
    at com.ibm.db2.jcc.am.ic.b(ic.java:364)
    at com.ibm.db2.jcc.am.ic.f(ic.java:359)
    at com.ibm.db2.jcc.am.ic.H(ic.java:1162)
    at com.ibm.db2.jcc.am.nn.b(nn.java:789)
    at com.ibm.db2.jcc.am.nn.getInt(nn.java:769)
    at com.TestDBIssue.main(TestDBIssue.java:69)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL DB2 V9.7 on LUW.                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to V9.7 FP7                                          *
    ****************************************************************
    

Problem conclusion

  • This is a server side fix. First fixed in V9.7 FP7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC82439

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-02

  • Closed date

    2012-12-05

  • Last modified date

    2012-12-05

  • 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

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC82439

Modified date: 05 December 2012