DB2 - Problembeschreibung
Problem IC68394 | Status: Geschlossen |
TESTCONNXX UTILITY FAILS WITH NULLREFERENCEEXCEPTION ON STEP 4 | |
Produkt: | |
DB2 CONNECT / DB2CONNCT / 970 - DB2 | |
Problembeschreibung: | |
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-Zusammenfassung: | |
**************************************************************** * 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. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 UDB Version 9.7, Fixpak 3 | |
Workaround | |
see LOCAL FIX | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 04.05.2010 30.09.2010 30.09.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7. | |
Problem behoben lt. FixList in der Version | |
9.7.0.3 | |
9.7.0.3 |