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.
dev build 200808261401 There seems to be a frequent race condition (occurs about 25% of the time) when saving project properties that causes the entire IDE to hang. I'm attaching a thread dump.
Created attachment 68397 [details] the thread dump
This seems to occur more frequently when I am changing the project-specific formatting options (as opposed to using the global formatting settings)
the suspicious thing is the groovy panel UI that's being constructed in non-AWT thread. That requres the AWT hierarchy lock, which hangs and blocks AWT which needs the project mutex. -> groovy - waiting to lock <0x0000000012703d08> (a java.awt.Component$AWTTreeLock) at java.awt.Container.setFont(Container.java:1536) at javax.swing.JComponent.setFont(JComponent.java:2721) at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:190) at javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:49) at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:39) at javax.swing.JComponent.setUI(JComponent.java:673) at javax.swing.JPanel.setUI(JPanel.java:136) at javax.swing.JPanel.updateUI(JPanel.java:109) at javax.swing.JPanel.<init>(JPanel.java:69) at javax.swing.JPanel.<init>(JPanel.java:92) at javax.swing.JPanel.<init>(JPanel.java:100) at org.netbeans.modules.groovy.support.customizer.GroovyCustomizerPanel.<init>(GroovyCustomizerPanel.java:52) at org.netbeans.modules.groovy.support.GroovyProjectExtender.getPanel(GroovyProjectExtender.java:103) at org.netbeans.modules.groovy.support.customizer.GroovyCustomizer$StoreActionListener.actionPerformed(GroovyCustomizer.java:100) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.storePerformed(CustomizerDialog.java:284) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.storePerformed(CustomizerDialog.java:287) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.access$400(CustomizerDialog.java:188) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$2$1.run(CustomizerDialog.java:246) at org.openide.util.Mutex.writeAccess(Mutex.java:433)
*** This issue has been marked as a duplicate of 139608 ***