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 39045 - Wrong behaviour when driver jar removed
Summary: Wrong behaviour when driver jar removed
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-21 07:43 UTC by Jiri Skrivanek
Modified: 2004-02-03 11:48 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 Jiri Skrivanek 2004-01-21 07:43:12 UTC
To reproduce:

- add a driver in Runtime view, Database|Drivers node
- shutdown IDE
- physically remove driver jar or zip
- start IDE again
- look at Drivers node. The driver previously
added should be marked as invalid.
- try to connect to a database and the following
message is arisen:

The class ... was not found. Place the relevant
driver package into your $IDE_HOME/lib/ext folder
and restart the IDE.

It should be either updated or it should not be
allowed to start making a connection on invalid
driver node.

Tested in build 20040121-0422, JDK1.4.2_03, WindowsXP.
Comment 1 Radko Najman 2004-01-30 13:58:44 UTC
Fixed.
If the driver file is not available, crossed icon is shown and the
driver is not listed in new connection dialog.
Comment 2 Jiri Skrivanek 2004-02-02 12:55:39 UTC
But if the connection node already exists in IDE, you get the error
with "...lib/ext" message. Please, change the message or logic to not
confuse the user.
Comment 3 Radko Najman 2004-02-02 13:02:13 UTC
I'm aware of that. The message needs to be modified. It's on my task list.
Comment 4 Radko Najman 2004-02-02 18:02:32 UTC
lib/ext message rewritten.
Comment 5 Jiri Skrivanek 2004-02-03 11:48:46 UTC
Verified in build 20040203-0904.