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 IC68393 Status: Closed

TESTCONNXX UTILITY FAILS WITH NULLREFERENCEEXCEPTION ON STEP 4

product:
DB2 CONNECT / DB2CONNCT / 950 - 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)at         * 
* IBM.Data.DB2.DB2Connection.GetSchema(StringcollectionName,   * 
* String[] restrictionValues)at                                * 
* IBM.Data.DB2.DB2Connection.GetSchema(StringcollectionName)at * 
* TestConn.myClassName.GetSchemaTable()Test                    * 
* failed-------------------------------------------------------- 
* programs should be modified to return a meaningfulmessage    * 
* when failing to run any metadata stored procedure.           * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.5, Fixpak 6                         * 
****************************************************************
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.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First fixed in DB2 UDB Version 9.5, Fixpak 6
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC68394 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
04.05.2010
31.05.2010
10.08.2010
Problem solved at the following versions (IBM BugInfos)
9.5.
Problem solved according to the fixlist(s) of the following version(s)