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 89370 - Unexcepted exception when retrieving Schemas/tables or queries from Database Oracle 10g
Summary: Unexcepted exception when retrieving Schemas/tables or queries from Database ...
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: DB schema (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 11:01 UTC by cvm
Modified: 2008-01-09 19:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
netbeans' log (162.74 KB, application/octet-stream)
2006-11-15 11:02 UTC, cvm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cvm 2006-11-15 11:01:41 UTC
Unexcepted exception when retrieving Schema/Tables from a Oracle Database 
(10.1.0.5.0) with the last jdbc drivers (10.2.0.2) :
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)
Comment 1 cvm 2006-11-15 11:02:40 UTC
Created attachment 36067 [details]
netbeans' log
Comment 2 Andrei Badea 2006-11-16 15:52:14 UTC
Please use a 10.x Oracle driver.

*** This issue has been marked as a duplicate of 84654 ***
Comment 3 cvm 2006-11-17 13:23:33 UTC
i'm using a 10.x Oracle driver !

http://download.oracle.com/otn/utilities_drivers/jdbc/10202/ojdbc14.jar
Comment 4 Andrei Badea 2006-11-20 11:51:49 UTC
I can't reproduce the issue with the driver from the URL you provided. The
exception suggests that you are not using a JDBC 3.0 driver (which the 10.2
driver is). Please check again that you are really using the 10.2 driver and not
an older (e.g. 9.x) one. Please check again that you can reproduce using the
following steps:

1) Start with a clean userdir (run netbeans with the -userdir <some_directory>
arguments)
2) Download the driver to a new location.
3) Register the driver in NetBeans using the location in step 2.
4) Connect to the database and browse the schema.

Thanks.
Comment 5 Jiri Prox 2007-09-17 20:15:26 UTC
Obsolete milestone, please reevaluate
Comment 6 David Vancouvering 2008-01-09 19:34:59 UTC
Closing this issue, user never got back to us after Andrei's suggested steps.