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.
I started SunStudio12 while NFS was flakey and the IDE hung. Turns out that project data gets opened and XML data is getting parsed and directories are being traversed on the AWT-EventQueue per the following stack trace: "AWT-EventQueue-1" prio=10 tid=0x003cf150 nid=0x1a runnable [0xf70fc000..0xf70ffca8] at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.exists(File.java:702) at org.netbeans.modules.cnd.makeproject.api.runprofiles.RunProfile.searchPath(RunProfile.java:211) at org.netbeans.modules.cnd.makeproject.api.runprofiles.RunProfile.setTerminalTypeNames(RunProfile.java:173) at org.netbeans.modules.cnd.makeproject.api.runprofiles.RunProfile.initialize(RunProfile.java:128) at org.netbeans.modules.cnd.makeproject.api.runprofiles.RunProfile.<init>(RunProfile.java:112) at org.netbeans.modules.cnd.makeproject.runprofiles.RunProfileProvider.factoryCreate(RunProfileProvider.java:32) at org.netbeans.modules.cnd.makeproject.api.configurations.Configuration.<init>(Configuration.java:53) - locked <0x92bc5268> (a java.util.Vector) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfiguration.<init>(MakeConfiguration.java:76) at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLCodec.startElement(ConfigurationXMLCodec.java:133) at org.netbeans.modules.cnd.api.xml.XMLDecoder._startElement(XMLDecoder.java:87) at org.netbeans.modules.cnd.api.xml.XMLDecoder.checkStartRecursion(XMLDecoder.java:104) at org.netbeans.modules.cnd.api.xml.XMLDecoder._startElement(XMLDecoder.java:84) at org.netbeans.modules.cnd.api.xml.XMLDocReader$Parser.startElement(XMLDocReader.java:233) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.netbeans.modules.cnd.api.xml.XMLDocReader.read(XMLDocReader.java:111) at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLReader.read(ConfigurationXMLReader.java:86) at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.getConfigurationDescriptor(ConfigurationDescriptorProvider.java:48) - locked <0x921880a8> (a org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider) at org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider.getMakeConfigurationDescriptor(MakeLogicalViewProvider.java:664) at org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider.createLogicalView(MakeLogicalViewProvider.java:135) at org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.createNodes(ProjectsRootNode.java:248) at org.openide.nodes.Children$Keys$KE.nodes(Children.java:2150) at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:129) - locked <0x92bc5700> (a org.openide.nodes.ChildrenArray) at org.openide.nodes.Children$Info.nodes(Children.java:1218) at org.openide.nodes.Children.justComputeNodes(Children.java:685) at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:70) at org.openide.nodes.Children.getNodes(Children.java:356) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:221) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:264) at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:168) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1461) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270) at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:725) at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:626) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3717) at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:559) at javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:345) at javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:117) at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:85) at org.openide.util.Mutex.doEvent(Mutex.java:1158) at org.openide.util.Mutex.readAccess(Mutex.java:284) at org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:71) at org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:723) at org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:565) at org.openide.explorer.view.TreeView.addNotify(TreeView.java:545) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at org.netbeans.swing.tabcontrol.TabbedContainer.addNotify(TabbedContainer.java:378) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addNotify(Container.java:2500) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at javax.swing.JComponent.addNotify(JComponent.java:4469) at java.awt.Container.addImpl(Container.java:1052) - locked <0x91b9dca0> (a java.awt.Component$AWTTreeLock) at java.awt.Container.add(Container.java:899) at org.netbeans.core.windows.view.ui.MainWindow.setDesktop(MainWindow.java:460) at org.netbeans.core.windows.view.ViewHierarchy.setDesktop(ViewHierarchy.java:764) at org.netbeans.core.windows.view.ViewHierarchy.setMainWindowDesktop(ViewHierarchy.java:754) at org.netbeans.core.windows.view.ViewHierarchy.updateDesktop(ViewHierarchy.java:651) at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:543) at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:485) at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:169) at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:244) at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:233) at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:170) at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:91) at org.netbeans.core.windows.Central.setVisible(Central.java:80) at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:716) at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:62) at org.netbeans.core.NonGui$3.run(NonGui.java:229) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Not reproducible any more
I'm sorry, but I cannot accept such summary closure. In general, when it comes to multi-threading reproducibility doesn't count for anything. Do you know for a fact that project data isn't being read on the AWT-EventQueue any more?
needs additional checking in NB6.5
Vladimir is fixing this and it has been fixed in most cases but not all. If it happens, you should see the following exception followed by a stack trace: java.lang.Exception: Not allowed to use EDT for reading XML descriptor of project! Please attach stack trace to this IZ.
same stack as in http://www.netbeans.org/issues/show_bug.cgi?id=146696 *** This issue has been marked as a duplicate of 146696 ***