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.
Deadlock appeared while saving project properties. To reproduce: - create a new java project - run main class (Shift+F6) - open project properties on project node - uncheck Compile on Save in Build/Compiling - click OK and IDE freezes Product Version: NetBeans IDE Dev (Build 200905120201) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb)
Created attachment 81953 [details] Thread dump.
Fixed but I am not sure whether there is no deeper reason of this issue. http://hg.netbeans.org/core-main/rev/685c52edaba2
*** Issue 164865 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200905130201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/685c52edaba2 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #164930 - Ignore fileAttributeChanged event to prevent deadlock.
*** Issue 165004 has been marked as a duplicate of this issue. ***
While the fix looks harmless and may solve this particular deadlock (otherwise I would reopen), I think the real issue is here: at org.apache.tools.ant.module.api.support.ActionUtils.runTarget(ActionUtils.java:94) at org.netbeans.modules.java.j2seproject.J2SEActionProvider$4.run(J2SEActionProvider.java:463) at org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:485) at org.netbeans.modules.java.j2seproject.ui.customizer.J2SEProjectProperties$1.run(J2SEProjectProperties.java:435) at org.netbeans.modules.java.j2seproject.ui.customizer.J2SEProjectProperties$1.run(J2SEProjectProperties.java:424) at org.openide.util.Mutex.writeAccess(Mutex.java:433) at org.netbeans.modules.java.j2seproject.ui.customizer.J2SEProjectProperties.save(J2SEProjectProperties.java:424) It does not look wise to me to be running an Ant action from inside the PM write mutex. Whatever this is doing, can't it be done asynchronously?
Sorry, didn't mean to reopen without known symptoms.