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 140032 [details] Log file from when deadlock occurred. 1. Open attached project in NetBeans. 2. Open 4 Java files out of 2 packages. 3. Rename the Project and choose to rename the directory also. 4. Immediately after the name changes repeat steps 2 & 3. 5. Do that 3 or 4 times. Result: Scanning deadlocks or after project is renames, the project folder shows only as a blank file. See attached screenshots, log files, thread dump. Product Version: NetBeans IDE 7.4 RC1 (Build 201309112301) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 140033 [details] Thread dump from when deadlock occurred. Thread dump from when deadlock occurred. Thread dump says there is one deadlock.
Created attachment 140034 [details] Screenshot of scanning deadlock.
Created attachment 140035 [details] Screenshot of blank project folder in Project Window. No Deadlock occurred when this happen. Only way to get source folder back was to restart NetBeans.
Created attachment 140036 [details] Log file from when blank file showed in Project Window.
I have heap dumps and the project is JEDIT 5.1 setup as a NetBeans project and it's 45MB zipped, so I will not upload all that unless it is needed.
Comment on attachment 140035 [details] Screenshot of blank project folder in Project Window. Sorry, wrong screenshot.
Comment on attachment 140036 [details] Log file from when blank file showed in Project Window. Sorry wrong log file.
Created attachment 140037 [details] Screenshot of empty file in Project Window. Screenshot of empty file in Project Window. A deadlock did not occur when this happened.
Created attachment 140038 [details] Log file from when empty file showed in project window.
"Pending refresh": at org.openide.filesystems.DeepListener.relisten(DeepListener.java:100) - waiting to lock <0x00000007f8b23810> (a org.openide.filesystems.DeepListener) at org.openide.filesystems.DeepListener.fileFolderCreated(DeepListener.java:129) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.fileFolderCreated(FileObjectKeeper.java:285) - locked <0x00000007f89236a0> (a org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper) vs "FileUtil-Refresh-All": at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.removeRecursiveListener(FileObjectKeeper.java:108) - waiting to lock <0x00000007f89236a0> (a org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.removeRecursiveListener(FolderObj.java:687) at org.openide.filesystems.DeepListener.relisten(DeepListener.java:105) - locked <0x00000007f8b23810> (a org.openide.filesystems.DeepListener)
Fixed in http://hg.netbeans.org/core-main/rev/4a00a644404c. It should work correctly now. Please verify. Thank you very much for reporting and providing dumps and logs.