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 103935 - Derby drivers appears twice in drivers node
Summary: Derby drivers appears twice in drivers node
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-05-14 18:24 UTC by mtoporek
Modified: 2007-07-04 09:39 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 mtoporek 2007-05-14 18:24:48 UTC
The two derby drivers within the drivers node appears twice. One o wach with a 
red mark in its icon. I think this is causing a conflict because it is unable 
to connect to the sample databases. I deleted the ones with the red mark and 
the connection is ok. Why do they appear twice?
Comment 1 _ jimdavidson 2007-05-14 18:41:32 UTC
Can you describe what version of the product you are using (from the about box)?

What steps did you execute to trigger the problem?
Comment 2 mtoporek 2007-05-14 18:52:51 UTC
The product version is 6.0 Preview (M9, build 070502).

I was just trying the "Building a Java Desktop Database Application" tutorial 
and when I got to create the database (cars_database), it was unable to 
connect and I noticed in the Drivers node that they appear twice.
Comment 3 Andrei Badea 2007-06-26 15:34:38 UTC
I have randomly seen this too.
Comment 4 Andrei Badea 2007-07-04 09:39:08 UTC
But I can't reproduce it. I attempted a fix that will avoid registering the drivers for the second time. If you can
still reproduce, please reopen and attach your message log and the config/Databases folder in the userdir.

Checking in db/derby/src/org/netbeans/modules/derby/DerbyOptions.java;
/cvs/db/derby/src/org/netbeans/modules/derby/DerbyOptions.java,v  <--  DerbyOptions.java
new revision: 1.16; previous revision: 1.15
done