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 72277 - Deadlock when expanding Ant build script node
Summary: Deadlock when expanding Ant build script node
Status: VERIFIED DUPLICATE of bug 75788
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-05 22:39 UTC by Milan Kubec
Modified: 2007-08-15 20:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (46.60 KB, text/plain)
2006-02-05 22:41 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2006-02-05 22:39:24 UTC
[custom build 20060202, JDK 1.5.0_06]

IDE deadlocked when I expanded Ant script node in Explorer. Maybe I did a double
click I'm not sure.
Comment 1 Milan Kubec 2006-02-05 22:41:01 UTC
Created attachment 28762 [details]
thread dump
Comment 2 Marek Fukala 2006-02-06 10:48:00 UTC
Thanks for the report - pretty nasty. Also note the huge number of request
processor threads running the XMLDocumentModel code...
Comment 3 Marek Fukala 2006-03-08 15:50:42 UTC
I removed an apparent design flaw in my code which caused all requests (even for
different document instancies) for DocumentModel to be synchronized. But this
wasn't probably causing the deadlock. I can think just about very obscure case
when this deadlock can occur. It can be related to some nasty hacks I had to add
to the XML navigator to be able to fix some memory leaks in XML dataloaders
(caused by supporting code for XML tree edit). So since it seems that noone is
using the the tree editor, I will clean up the xml loaders code and remove the
hacks from the xml navigator. I hope it will fix this problem.

Checking in DocumentModel.java;
/cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/api/DocumentModel.java,v
 <--  DocumentModel.java
new revision: 1.7.2.2.2.1; previous revision: 1.7.2.2
done
Comment 4 Marek Fukala 2006-05-30 14:36:50 UTC
Seems to be very likely the same problem as in Issue #75788, which is already fixed.

*** This issue has been marked as a duplicate of 75788 ***
Comment 5 _ hong_lin 2007-08-15 20:12:59 UTC
Close "DUPLICATE" issue