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.
The list of tables won't display after connecting to an Oracle 10G database. Connection is OK, but list of tables stays on "Please wait". The following error is found: java.lang.AbstractMethodError exception. Here's the full message: java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.getDatabaseMajorVersion()I at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseMajorVersion(DefaultAdaptor.java: 3967) at org.netbeans.modules.db.explorer.infos.TableListNodeInfo.initChildren(TableListNodeInfo.java: 49) at org.netbeans.modules.db.explorer.infos.DatabaseNodeInfo.getChildren(DatabaseNodeInfo.java: 675) at org.netbeans.modules.db.explorer.DatabaseNodeChildren$2.run(DatabaseNodeChildren.java: 94) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932) Tried various versions of ojdbc14.jar with same result. Tried removing driver and database connections and recreating, but no success. Tried removing netbeans and reinstalling, but no success. Others with similar configurations are working OK.
Created attachment 40499 [details] netbeans log file
That usually indicates that you are using an old JDBC driver. For Oracle, you should use a 10.x driver, preferably the latest (10.2.0.3). Please give that a try, and report back if there's a problem.
I tried the latest oracle 10g driver and got the same error.
Please make sure you don't have multiple Oracle drivers registered. Also please make sure you don't have an Oracle driver in the $JAVA_HOME/lib/endorsed directory.
Success! I don't have an endorsed folder, but I noticed in the Netbeans Java Platform Manager that other Oracle drivers were listed from my home/Library/Java/Extensions folder. This was for another DB explorer product that couldn't use the current driver. Removing the other drivers from this folder fixed the problem. Thanks. -Mike-