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.
Created attachment 151785 [details] Thread dump Not sure about right component, but I worked with HTML5 project :) So feel free to reassign, thanks.
Seems to be a problem in web inspection. Honzo, please evaluate, thanks.
Created attachment 152005 [details] Another TD Happened again...
The deadlock is between event-dispatch and org.netbeans.modules.web.inspect.webkit.WebKitPageModel threads. Event-dispatch thread is trying to acquire WebKitPageModel.this lock through WebKitPageModel.getNode() method, but this lock is held by org.netbeans.modules.web.inspect.webkit.WebKitPageModel thread. On the other hand org.netbeans.modules.web.inspect.webkit.WebKitPageModel thread is trying to enter some mutex in nodes area that is held by event-dispatch thread. It seems that I am running in circles in this area :-(. Some time ago I fixed the same kind of deadlock (issue 216491 and issue 216955) by removal of the synchronized keyword from WebKitPageModel.getNode()'s prototype (and by making WebKitPageModel.nodes map synchronized). Unfortunately, few months ago I have added the synchronized keyword to WebKitPageModel.getNode() method again accidentally (it seems that I overlooked that the nodes map is sychronized then). So, I am removing the synchronized keyword again. Modified file: https://hg.netbeans.org/web-main/rev/b26c7a7bfbe0
*** Bug 248017 has been marked as a duplicate of this bug. ***