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 226793 - Error creating Derby DB
Summary: Error creating Derby DB
Status: RESOLVED INCOMPLETE
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 14:44 UTC by ajvelez
Modified: 2013-07-19 09:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ajvelez 2013-02-27 14:44:24 UTC
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.8.0-ea
Runtime = Java HotSpot(TM) Client VM 25.0-b17

================================================
Command sequence : Services - Java DB - Create database

Exception in thread "DRDAConnThread_3" java.lang.VerifyError: (class: org/apache/derby/impl/jdbc/EmbedStatement, method: executeLargeUpdate signature: (Ljava/lang/String;)J) Illegal use of nonvirtual function call
	at org.apache.derby.jdbc.Driver40.newEmbedStatement(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.createStatement(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.createStatement(Unknown Source)
	at org.apache.derby.impl.drda.DRDAStatement.setStatement(Unknown Source)
	at org.apache.derby.impl.drda.Database.setConnection(Unknown Source)
	at org.apache.derby.impl.drda.Database.makeConnection(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.getConnFromDatabaseName(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.verifyUserIdPassword(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.parseSECCHK(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.parseDRDAConnection(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
Comment 1 matthias42 2013-05-10 16:54:53 UTC
This is no bug in netbeans, but in the JDK:

http://bugs.sun.com/view_bug.do?bug_id=8004967

The bug is marked resolved, so it should work at least with JDK final (I seriously hope the current situation, being able to use very old jdbc drivers, continues to hold).
Comment 2 rohangtr 2013-07-19 09:47:24 UTC
This is a bug in JDK 1.8, So better use JDK 1.7 :)