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.
Summary: | Driver list refresh problem | ||
---|---|---|---|
Product: | db | Reporter: | Radko Najman <rnajman> |
Component: | Code | Assignee: | Radko Najman <rnajman> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 40290 | ||
Bug Blocks: | 38384 |
Description
Radko Najman
2004-01-05 13:14:21 UTC
Fixed. Verified in build 20040209-0907. Unfortunately, I found a case which produces this bug again. Do the following: 1) run IDE with clean userdir 2) add a driver under Databases -> Drivers node (e.g. Oracle) 3) remove that driver => it is OK 4) add a driver (e.g. the same as before) 5) restart IDE with the same userdir 6) repeat steps 2-5 7) remove driver => driver list is NOT refreshed Tested in build 20040209-0907, JDK1.4.2_03, WindowsXP. It seems the issue is caused by a problem with Lookup cache. Sometimes the requested driver objects are not correctly constructed by Lookup but they are returned from the Lookup cache. For more info see: http://db.netbeans.org/issues/show_bug.cgi?id=40290 *** Issue 39987 has been marked as a duplicate of this issue. *** So, until it is fixed we need again Refresh action on drivers node. What do you think? No, Refresh action uses Lookup as weel. It doesn't help in this case. *** Issue 41674 has been marked as a duplicate of this issue. *** *** Issue 41674 has been marked as a duplicate of this issue. *** Issue 40290 was marked as fixed but it didn't have any influence on this issue. I tested it in build 200404051800 and added driver didn't appear in the list. *** Issue 44377 has been marked as a duplicate of this issue. *** Private driver cache implemented in JDBCDriverManager. Drivers stored in this cache are used instead of the drivers taken from Lookup. This should hopefully help to solve this issue. *** Issue 45689 has been marked as a duplicate of this issue. *** I'm testing it and for last 2 days has'n been able to reproduce the bug. It's a good sign, but I'm not gonna very it yet. Seems that it is really fixed. It hasn't happened me since Radko fixed. Marking it as fixed |