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: | Database connection icon does not change to disconnected | ||
---|---|---|---|
Product: | db | Reporter: | MackSix |
Component: | Code | Assignee: | matthias42 |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | anebuzelsky, geertjan, johnjullion, MackSix, mmirilovic |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
MackSix
2015-02-16 11:06:35 UTC
This happens with a PostgreSQL connection too. Ok - the problem looks like a race condition in the connection sequence. This commit made the problem visible: http://hg.netbeans.org/main-silver/rev/445492ab23fb I asume this - the problem that was fixed by that problem bug #249214 was the cause that it worked in the first place. In the mentioned bug getWarnings was causing long delays which triggered a slowness report. I'll have to cut through the mess of DatabaseConnector, DatabaseConnection, ConnectionNode and so on. My gut feeling tells me, that there is some serious cleaning to be done. The fix was committed as: http://hg.netbeans.org/core-main/rev/cd53aceb3f28 Thank you for catching this. As always in the next few days a nightly build will be done, that includes this fix. I'd appreciate it if you could take for a spin and verify the fix. Integrated into 'main-silver', will be available in build *201502220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cd53aceb3f28 User: Matthias Blaesing <matthias42@netbeans.org> Log: #250442: Simplify DatabaseConnection structure and connection sequence It works fine. Verified. Excellent cooperation between two excellent NetBeans community contributors proving that NetBeans is a true open source project. Thank you guys! |