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.
Product Version = NetBeans IDE 7.0 (Build 201104080000) Operating System = SunOS version 5.11 running on x86 Java; VM; Vendor = 1.6.0_20 Runtime = Java HotSpot(TM) Client VM 16.3-b01 I get hanging "Scanning projects" processes every time I start the IDE with a medium size PHP project. Every time the "scanning projects" progress bar freezes somewhere, either while scanning my own code or while scanning IDE libraries. Very annoying: I cannot stop this process, it looks like I have to shut down the IDE and restart - since a hanging scan process still hampers valuable features like code completion in XML, HTML, PHP etc. I even cannot shut down the IDE cleanly, it is not able to quit the project scan. I have to kill the IDE process on system level - loosing all information about recently used files etc ... That's not only annoying, that is bad. BTW: I really apreciate the "report issues" feature inside the IDE!
Please, reopen this issue and attach profiler snapshot [1] for the scanning (~30sec should be fine) so we can help you. Thanks. [1] http://wiki.netbeans.org/GenerateThreadDump#Profile_Me_Now
Created attachment 109435 [details] Profiling Snapshot, taken while the IDE scanned projects I hope, that helps!
Looking at the snapshot, all the time is spend in adding of filesystem listener - so: a) don't you have any recursive symlinks in your project? or, b) don't you have your project on mounted network disc? For a), you can try RC of NB 7.0.1 or development version of NB - both can be found here [1]. For b), unfortunately there's no fix or work around since network drives are known to be slow (usually _very_ slow). Again, just reopen this issue and provide your comment. Thanks. [1] http://netbeans.org/downloads/index.html
*** Bug 200067 has been marked as a duplicate of this bug. ***
Created attachment 109475 [details] Profiling snapshot from NB 7.0.1RC1, while scanning projects Thank you for your hints on symlinks and network FS. Neither is the case - AFAIK the project folder does not contain any symlinks, it's all just files and folders on a local file system. The only special about the project is: it is a subversion working copy. I also checked out NB 7.0.1RC1 on this machine, with the same results. Please see the attached snapshot. Core dumps will follow. I also checked out the project on a OpenSuSE 11.4 machine and opened it with NB 7.0 there. Until now, it seems to work on OpenSUSE 11.4. Since it happens nearly every time I start NB 7.0.1RC on OpenSolaris, I will keep on trying/testing NB 7.0 on OpenSuSE.
Created attachment 109476 [details] Core Dump taken while scanning, from NB 7.0.1RC1 - for comparison, (HTH)
Created attachment 109477 [details] Core Dump (2) taken while scanning, from NB 7.0.1RC1 - for comparison, (HTH)
It seems to me that native filesystem listeners are not supported on Solaris - or am I wrong? Reassigning to the proper component, please evaluate. @reporter: Do not change the "Assigned To" field to yourself (responsible developer is assigned there). Thanks.
> @reporter: Do not change the "Assigned To" field to yourself (responsible > developer is assigned there). Ooops?! Sorry, I was not aware I did something like this. Must have been a mistake. The meaning of this field is well known to me ... :-(
Native Listeners were implemented by gorrus and as following line in the NPS files shows org.netbeans.modules.masterfs.watcher.FAMNotifier.addWatch() they are on.
investigating, as a workaround please restart the IDE with -J-Dorg.netbeans.modules.masterfs.watcher.disable=true
*** This bug has been marked as a duplicate of bug 199497 ***