Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC82439 Status: Closed

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

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem 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)
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL DB2 V9.7 on LUW.                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to V9.7 FP7                                          * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
This is a server side fix. First fixed in V9.7 FP7
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
02.04.2012
05.12.2012
05.12.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP7
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.7 FixList