Bug 163817 - AbstractMethodError: com.sybase.jdbc.SybConnection.createStatement(II)Ljava/sql/Statement;
AbstractMethodError: com.sybase.jdbc.SybConnection.createStatement(II)Ljava/s...
Status: RESOLVED INVALID
Product: db
Classification: Unclassified
Component: Code
6.x
All All
: P4 (vote)
: 6.x
Assigned To: Jiri Rechtacek
issues@db
http://statistics.netbeans.org/except...
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-27 20:37 UTC by jetadi
Modified: 2013-01-19 15:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (875 bytes, text/plain)
2009-04-27 20:38 UTC, jetadi
Details

Note You need to log in before you can comment on or make changes to this bug.
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).


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo