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 160038 [details] Thread dump on frozen NB After a long while (more than a year), I've faced a first NB 8.1 freeze (that is rock solid, I must say). Environment: - NB 8.1 with all updates - Oracle JDK 1.8.0_91 x64 - Win Server 2008r2 with all updates - BitDefender endpoint security for servers (it never had any influence) - Latest GWT plugin (which is very important in this project) What I was doing: - I've commited all changes and closed a subversion versioned project - Open a clone of the project that is in differente stage of development (kind of branch, but I just checkout the project in another folder without creating a new branch - I'll manually merge all changes after all) - in a different folder, of course - Executed a subversion "update to head" to get all current changes - Solved all conflicts - Execute a "Clean" to do a start from scratch NB fronzen with "Checking for external changes" in state "suspended". I've immediately opened a jVisualVM and took the thread dump (attached to this issue), and also the netbeans log.
Created attachment 160039 [details] NetBeans log file
The problem is in JavaEEWSOpenHook.WS_REQUEST_PROCESSOR which tries to acquire project mutex in exclusive mode in JavaEEWSOpenHook$WebservicesChangeListener:284 in parsing task (holds parser lock). However the project mutex is held by the ProjectProperties.PP.RP (shared mode) trying to acquire parsing lock WebAppMetadataModelImpl.runReadAction(WebAppMetadataModelImpl.java:133)
It's not a good idea trying to acquire project lock in exclusive mode under parser lock. Either reschedule the task or split the code into parser part and project store part.
Fixed in web-main ca7b6e0318a6.
Integrated into 'main-silver', will be available in build *201606170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ca7b6e0318a6 User: Petr Hejl <phejl@netbeans.org> Log: #262413 - NB 8.1 freeze