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 152605 - ISE: "The Java DB (Network) driver was not found" from DerbyDatabases.registerDatabase
Summary: ISE: "The Java DB (Network) driver was not found" from DerbyDatabases.registe...
Status: RESOLVED DUPLICATE of bug 164145
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: RANDOM, TEST
Depends on: 152889
Blocks:
  Show dependency tree
 
Reported: 2008-11-07 04:08 UTC by Jesse Glick
Modified: 2009-04-30 15:19 UTC (History)
4 users (show)

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 Jesse Glick 2008-11-07 04:08:20 UTC
Thrown in C/V.

########  testWebApplication  #######
SEVERE [org.openide.util.RequestProcessor]
java.lang.IllegalStateException: The Java DB (Network) driver was not found
	at org.netbeans.modules.derby.api.DerbyDatabases.registerDatabase(DerbyDatabases.java:362)
	at org.netbeans.modules.derby.api.DerbyDatabases.createSampleDatabase(DerbyDatabases.java:282)
	at org.netbeans.modules.j2ee.sun.ide.j2ee.db.RegisterPointbase$ConfigureJavaDBSamples.run(RegisterPointbase.java:319)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 1 John Baker 2008-11-07 06:49:47 UTC
I wasn't aware a test was added that starts the IDE and registers GF 

This error shouldn't occur if v2 is used.

Regardless, this is not a database bug.  Looks like a problem with the installation or test

Petr or Roman do you know about this test ?  If so, could one of you please assign to the correct component and owner
Comment 2 Roman Mostyka 2008-11-07 09:28:18 UTC
I guess Martin Schovanek (mschovanek) is the owner. Petr, Martin, is it right?
Comment 3 Martin Schovanek 2008-11-07 17:21:27 UTC
Looks like a random fail, but AFAIK the owner should be Ivan Sidorkin, am I right Ivan?
Comment 4 Ivan Sidorkin 2008-11-07 17:32:41 UTC
yes, I'm owner of this test.
this test was really stable for long time, and it is definitely not test issue.  
Comment 5 Roman Mostyka 2008-11-07 17:38:08 UTC
Ivan, can you check this problem manually? I don't see such problem with latest builds.
Comment 6 John Baker 2008-11-17 08:11:44 UTC
Is this still reproducible by the test ?

Java DB registration will be changed in 7.0 and the test will have to change - #152889
Comment 7 Ivan Sidorkin 2008-12-04 20:06:04 UTC
again
http://deadlock.netbeans.org/hudson/job/trunk/4495/testReport/org.netbeans.test.ruby/RubyValidation/testCreateRubyProject/

SEVERE [org.openide.util.RequestProcessor]
java.lang.IllegalStateException: The Java DB (Network) driver was not found
	at org.netbeans.modules.derby.api.DerbyDatabases.registerDatabase(DerbyDatabases.java:362)
	at org.netbeans.modules.derby.api.DerbyDatabases.createSampleDatabase(DerbyDatabases.java:282)
	at org.netbeans.modules.j2ee.sun.ide.j2ee.db.RegisterPointbase$ConfigureJavaDBSamples.run(RegisterPointbase.java:319)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 8 John Baker 2008-12-05 01:13:37 UTC
I will be changing the way Java DB is registered.  

Once I make the change though, tests will always fail or break.
So, should I also change the tests or describe what will be changed ?

I will send a note once the change is made.

However, though, for 7.0, will you be using GF v2 or v3 ?
Java DB will not be bundles with v3.

Also, will v3 be the default GF or v2?

If v3 is the default, then Java DB from JDK 1.6 will be used.
Comment 9 Ivan Sidorkin 2008-12-06 10:09:48 UTC
and again
http://deadlock.netbeans.org/hudson/job/trunk/4514/testReport/org.netbeans.test.cnd/CNDValidation/testCreateSampleProject/

tests fails just because Unexpected Exception dialog appeared.
so tests shouldn't be changed
Comment 11 Jiri Rechtacek 2009-02-10 15:24:31 UTC
Reassigned to new owner.
Comment 12 Jiri Rechtacek 2009-03-31 14:39:31 UTC
Seems all the tests are passing now.
Comment 14 Jiri Rechtacek 2009-04-30 15:19:51 UTC

*** This issue has been marked as a duplicate of 164145 ***