home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 IC68394 Status: Closed

TESTCONNXX UTILITY FAILS WITH NULLREFERENCEEXCEPTION ON STEP 4

product:
DB2 CONNECT / DB2CONNCT / 970 - DB2
Problem description:
Calling the IBM DB2 testconn11.exe or testconn20.exe program 
from DB2 Connect v9.5 or v9.7 fails on step 4 with 
a NullReferenceException: 
. 
Step 4: Calling GetSchema for tables to validate existance of 
schema functions 
System.NullReferenceException: Object reference not set to an 
instance of an object. 
  at IBM.Data.DB2.bq.x(String[] A_0) 
  at IBM.Data.DB2.bq.b(String A_0, String[] A_1) 
  at IBM.Data.DB2.DB2Connection.GetSchema(String collectionName, 
String[] restrictionValues) 
  at IBM.Data.DB2.DB2Connection.GetSchema(String collectionName) 
  at TestConn.myClassName.GetSchemaTable() 
Test failed 
---------------------------------------------------------------- 
. 
Those programs should be modified to return a meaningful message 
when failing to run any metadata stored procedure. 
. 
This APAR will only correct the error message, but it will not 
resolve the problem.  The GetSchema function will not work when 
the DESCSTAT parameter is set to NO.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Calling the IBM DB2 testconn11.exe or testconn20.exe         * 
* programfrom DB2 Connect v9.5 or v9.7 fails on step 4 with    * 
* aNullReferenceException:.Step 4: Calling GetSchema for       * 
* tables to validate existanceof schema                        * 
* functionsSystem.NullReferenceException: Object reference not * 
* set toan instance of an object..at                           * 
* IBM.Data.DB2.bq.x(String[] A_0)at IBM.Data.DB2.bq.b(String   * 
* A_0, String[]                                                * 
* A_1)atIBM.Data.DB2.DB2Connection.GetSchema(StringcollectionNam 
* restrictionValues)atIBM.Data.DB2.DB2Connection.GetSchema(Strin 
* TestConn.myClassName.GetSchemaTable()Test                    * 
* failed------------------------------------------------------.P 
* should be modified to return a meaningful messagewhen        * 
* failing to run any metadata stored procedure.                * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v9.7, Fixpak 3                                * 
****************************************************************
Local Fix:
Set DESCSTAT=YES on DB2 for z/OS and re-run the DSNTIJSG job in 
order to rebind the packages.
available fix packs:
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
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
First fixed in DB2 UDB Version 9.7, Fixpak 3
Workaround
see LOCAL FIX
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
04.05.2010
30.09.2010
30.09.2010
Problem solved at the following versions (IBM BugInfos)
9.7.
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.3 FixList
9.7.0.3 FixList