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 26405 - Deadlock w/ Cache.updateProviders
Summary: Deadlock w/ Cache.updateProviders
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-09 09:52 UTC by Svata Dedic
Modified: 2003-02-04 14:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump after right-click root node in Projects tab, trying to reach New (7.74 KB, text/plain)
2002-08-09 09:56 UTC, Svata Dedic
Details
Thread dump after clicking Finish in New Java Application wizard (7.98 KB, text/plain)
2002-08-09 09:57 UTC, Svata Dedic
Details
Experimental patch (1.83 KB, patch)
2002-08-09 10:57 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-08-09 09:52:18 UTC
I've spotted the deadlock in my debugging
installation, but it appeared on me in a clean
build, right after I attempted to creat a new Java
Application project.
I filled in project name, clicked Next, then
Finish. Deadlock.
I'm giving this a P1, since I cannot run the IDE
in debug mode at all, and only occasionally
without cleanin the userdir.
Will attach thread dumps
Comment 1 Svata Dedic 2002-08-09 09:56:05 UTC
Created attachment 7065 [details]
Thread dump after right-click root node in Projects tab, trying to reach New
Comment 2 Svata Dedic 2002-08-09 09:57:15 UTC
Created attachment 7066 [details]
Thread dump after clicking Finish in New Java Application wizard
Comment 3 Svata Dedic 2002-08-09 10:57:30 UTC
Created attachment 7069 [details]
Experimental patch
Comment 4 Svata Dedic 2002-08-09 12:48:34 UTC
Please delay initialization of the Cache, if it is possible. I have a
patch which (supposedly) solves the deadlock, but I don't know what
synchronization model is used in projects module, so there may be some
odd effects.
Comment 5 Vitezslav Stejskal 2002-08-09 16:52:40 UTC
Svato, thanks for the patch, although it is correct, I fixed it in a
bit different way. Could you please verify it, thanks.
Comment 6 Milan Kubec 2002-08-22 08:52:50 UTC
Verified.