This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 117894 - DatabaseExplorerUIsTest fails
Summary: DatabaseExplorerUIsTest fails
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords: RANDOM, TEST
Depends on: 75204 125140
Blocks:
  Show dependency tree
 
Reported: 2007-10-05 11:02 UTC by Andrei Badea
Modified: 2008-03-17 18:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log (6.79 KB, text/plain)
2007-10-05 11:03 UTC, Andrei Badea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Badea 2007-10-05 11:02:56 UTC
... in the 200710040000 daily run.
Comment 1 Andrei Badea 2007-10-05 11:03:21 UTC
Created attachment 50256 [details]
Log
Comment 2 Andrei Badea 2007-10-05 12:57:33 UTC
Partially fixed, also needs fix of issue 75204.

Checking in src/org/netbeans/modules/db/explorer/ConnectionList.java;
/cvs/db/src/org/netbeans/modules/db/explorer/ConnectionList.java,v  <--  ConnectionList.java
new revision: 1.6; previous revision: 1.5
done
Checking in test/unit/src/org/netbeans/api/db/explorer/support/DatabaseExplorerUIsTest.java;
/cvs/db/test/unit/src/org/netbeans/api/db/explorer/support/DatabaseExplorerUIsTest.java,v  <--  DatabaseExplorerUIsTest.java
new revision: 1.4; previous revision: 1.3
done
Comment 3 David Vancouvering 2008-01-26 00:09:56 UTC
Note, I am now getting a different error, which may be hiding the original error.  Here is the (short) stack trace:

java.lang.ArrayIndexOutOfBoundsException: 0
        at org.netbeans.api.db.explorer.support.DatabaseExplorerUIsTest.initConnections(DatabaseExplorerUIsTest.java:62)
        at
org.netbeans.api.db.explorer.support.DatabaseExplorerUIsTest.testComboboxWithConnections(DatabaseExplorerUIsTest.java:84)

This appears to be happening because the test framework is not finding any registered JDBC drivers, even though
JDBC/ODBC is registered in the db module layer file.  This is the covered in issue 125140, so this means 125140 is
essentially blocking this bug from being fixed, so marking it as a blocker.
Comment 4 David Vancouvering 2008-02-26 17:40:03 UTC
I will re-run this test on Ubuntu, as the Macintosh is the only place where I get the ArrayIndexOutOfBounds exceptions.