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.
When trying to reproduce issue 142910 I run into a deadlock. Threaddump is attached. This is a problem of the editor braces matching infrastructure always calling BracesMatcher.findMatch() under document readlock. I need to access the parser via Source.runUserActionTask() which is however forbidden under document readlock. There are duplicate issues #134046 (P2), #137343 (P1) and #131060 (P1). They were mostly closed as duplicates of issue #131284. The last one was partially fixed and closed. Now it seems that even after fix of issue #131060 the probability of the problem to happen is not insignificant.
Created attachment 66652 [details] The threaddump
Marku, could you please review my changes in HTMLBracesMatcher in http://hg.netbeans.org/main/rev/4f9dc43334c1. They should fix this problem. Thanks
The changes seems to be ok to me, thanks! Fixed by the fix of the blocking issue.