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 163817

Summary: AbstractMethodError: com.sybase.jdbc.SybConnection.createStatement(II)Ljava/sql/Statement;
Product: db Reporter: jetadi <jetadi>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED INVALID    
Severity: blocker CC: einarhreindal
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=143048
Issue Type: DEFECT Exception Reporter: 143048
Attachments: stacktrace

Description jetadi 2009-04-27 20:37:54 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments:
jetadi: I try to do a simple select * from table, and I got the error

einarhreindal: Executeing a simple select SQL statement, Select * from tablename

earnarso: Executing a query agains informatix database



Stacktrace: 
java.lang.AbstractMethodError: com.sybase.jdbc.SybConnection.createStatement(II)Ljava/sql/Statement;
        at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.prepareSQLStatement(SQLExecutionHelper.java:521)
        at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.initialDataLoad(SQLExecutionHelper.java:112)
        at org.netbeans.modules.db.dataview.output.DataView.create(DataView.java:101)
        at org.netbeans.modules.db.dataview.api.DataView.create(DataView.java:71)
        at org.netbeans.modules.db.sql.execute.SQLExecuteHelper.execute(SQLExecuteHelper.java:105)
        at org.netbeans.modules.db.sql.loader.SQLEditorSupport$SQLExecutor.run(SQLEditorSupport.java:480)
Comment 1 jetadi 2009-04-27 20:38:01 UTC
Created attachment 81011 [details]
stacktrace
Comment 2 Jiri Rechtacek 2009-07-01 07:44:13 UTC
NB6.7 was released already - http://www.netbeans.org/community/releases/67/
Postpone fixing this issue on the next release.
Comment 3 matthias42 2013-01-19 15:00:08 UTC
I tried to gather more information about the sybase driver and got this:

http://www.sybase.de/detail?id=1009812

It looks as if you got the JDBC 1.0 driver - don't use it - you will face more bugs in the following methods.

It looks as if a JDBC 2 driver is available and you can switch between them at runtime (see the setVersion part in the documentation). That should bring you further.

I'm closing this bug - feel free to reopen if you can reproduce even with a recent version of the driver (please provide versions of drivers/server/netbeans).