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 196048 - Deadlock w/ keyring dialog when running SQL after restart
Summary: Deadlock w/ keyring dialog when running SQL after restart
Status: RESOLVED DUPLICATE of bug 195943
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 7.0
Hardware: All Linux
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 22:54 UTC by _ tboudreau
Modified: 2011-02-28 08:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (19.40 KB, text/plain)
2011-02-26 22:54 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2011-02-26 22:54:28 UTC
Created attachment 106482 [details]
Thread dump

Create a new database (if you have H2, use jdbc:h2:mem:experiment to create an in-memory db)

Open (or create) an SQL file, or open an editor tab by right clicking the new database and choosing Execute Command.

Make sure the projects tab is visible.

Restart the IDE.

In your SQL source file's toolbar, click the Run button to the left of the drop-down for selecting the database.  When the popup to choose which database appears, select the database connection you created in the previous IDE session.

The event thread is permanently blocked - see attached thread dump.  100% reproducible.  Workaround is to expand the services databases node and connect first.
Comment 1 Jiri Rechtacek 2011-02-28 08:07:43 UTC
Tim, I know about this problem, I'm able to reproduce it too. Must be fixed in 7.0. Thanks

*** This bug has been marked as a duplicate of bug 195943 ***