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 200000 - Delete project dialog hangs up and can not be closed
Summary: Delete project dialog hangs up and can not be closed
Status: RESOLVED DUPLICATE of bug 191847
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 20:43 UTC by ayermolayev
Modified: 2011-07-14 19:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump #1 (28.04 KB, text/plain)
2011-07-08 20:43 UTC, ayermolayev
Details
THread dump #2 (26.99 KB, text/plain)
2011-07-08 20:44 UTC, ayermolayev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ayermolayev 2011-07-08 20:43:17 UTC
Created attachment 109335 [details]
Thread dump #1

When I delete a project the confirmation dialog comes up, when I say "Yes" it disables all its buttons and stays there forever. To get out I need to kill Netbeans.
Thread dump is attached.
Comment 1 ayermolayev 2011-07-08 20:44:12 UTC
Created attachment 109336 [details]
THread dump #2
Comment 2 ayermolayev 2011-07-08 20:49:30 UTC
Exactly the same problem was described in bug #189142 (http://netbeans.org/bugzilla/show_bug.cgi?id=189142) but never fixed.
Comment 3 ayermolayev 2011-07-08 21:13:37 UTC
After I killed the NB I found that the would be deleted project folder is still there with most of its contents.
Comment 4 pekarna 2011-07-11 05:20:05 UTC
(Congrats on bug #200000 ;-)
Comment 5 Tomas Zezula 2011-07-12 06:39:50 UTC
I've looked on the attached thread dumps. Thanks for attaching them!
The problem is that the project you are deleting is still running.
I am able to reproduce the hang in NB 6.9.1 and it works fine in dev builds and NB 7.0 where the project can be deleted.
Fixed by af13d26e1fd2 which increased the ant run throughput.
Comment 6 Jesse Glick 2011-07-12 10:05:26 UTC

*** This bug has been marked as a duplicate of bug 191847 ***
Comment 7 ayermolayev 2011-07-14 16:14:12 UTC
The project was NOT running. There was another running project but the one that I deleted was not running at the time.
Comment 8 Jesse Glick 2011-07-14 18:04:56 UTC
Deleting runs the clean target.
Comment 9 Tomas Zezula 2011-07-14 19:55:12 UTC
It does not matter which project was running.
The ant was running in a single thread executor (already used by running project) project delete tried to do project clean and needed the occupied executor.