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.
[recent sources] In xml.text/src/org/netbeans/modules/xml/text/syntax/dom/Tag.java, there is suspicious atomicLock() - there is a lot of code between call to atomicLock() and try {} finally {atomicUnlock();}. If an exception occurred before the try block starts, it would mean the Document would be locked forever. The try { block should start right after atomicLock() (unless some statement needs to be place between the atomicLock() and the try block, but that is very rare).
Fixed: http://hg.netbeans.org/main/rev/6adeeec16ac8.