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.
This issue was reported manually by musilt2. It already has 43 duplicates Build: NetBeans IDE 7.1 (Build 201112071828) VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13 OS: Windows 7 User Comments: yardus: After startup the first scan had finished and the second one has been launched just few seconds after that. GUEST: scanning projects progress shows 100% but still running GUEST: "Scanning projects" takes over 20 min on some projects GUEST: I have two projects with 20 external libraries JARs and one of them has an annotation processor (used by both projects). The scanning project task reaches 94% or 100% but never ends. GUEST: moderate groovy project hung on 79% for too long GUEST: LET ME DISABLE PROJECT SCANNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DaveYoungOnline: Scanning Hangs at 55% on initial run of 7.1 (PHP only). I had this same problem with 7.0. I had to un-install, then re-install but without importing projects from 6.9, then rebuild the projects. A real pain and time consuming. vv159170: scanning in cnd project again GUEST: Algo errado acontece quando abro o netbeans e tento carregar qualquer projeto. A analise de projetos trava aos 33% e n
Created attachment 114825 [details] stacktrace
lot of duplicates recently -> P2
I would like to ask whether someone could take a snapshot of the situation. How to do it is described for example here: http://blogs.oracle.com/netbeansphp/entry/is_the_ide_slow_send It would be great to have a snapshots of a few seconds. Thanks.
Mine work eventually, just took a very very long time. I decided to open up a file and start coding after a while bnoticed it had finished. It may have something to do with subversioning, has anyone got a project setup in this manner?
From the snapshot I can recognize what is going on. Please attach a snapshot:). Thanks.
By snapshot, do you mean a screendump / print screen of the the IDE loading?
Created attachment 115204 [details] Snapshot
This happens every time for one of my projects. I attached a snap shot as per requested.
116 dups in couple weeks ... P1
Thanks for the snapshot. According the attached snapshot, it looks like org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.addRecursiveListener() doesn't work correctly. It tries recursively add the listeners but never ends. Guys do you have recursive links in your sources? I'm asking, just to be sure that it can be the reason for this behavior.
*** Bug 202195 has been marked as a duplicate of this bug. ***
*** Bug 206461 has been marked as a duplicate of this bug. ***
The issue http://netbeans.org/bugzilla/show_bug.cgi?id=206461 has a reproduceable PHP test case (symlinks) which causes the recursive listener to hang. Here is the example http://netbeans.org/bugzilla/attachment.cgi?id=114264 The parsing API detects sym links and does not follow them, FS should do something similar.
Thanks to Tomas for pointing out the duplicates and the test case.
Guys, you can switch off the recursive listener if you run NetBeans with property -J-Dnetbeans.indexing.recursiveListeners=false .
Cyclic symlinks detected and ignored as of http://hg.netbeans.org/ergonomics/rev/3997f88e67a1
(In reply to comment #16) > Cyclic symlinks detected and ignored as of > http://hg.netbeans.org/ergonomics/rev/3997f88e67a1 Yarda, could you please integrate this also into releases ? Thanks in advance.
verified on testcase from #206461 mentioned by Tomas
(In reply to comment #18) > verified on testcase from #206461 mentioned by Tomas Yarda, please ? We will build RC1 during Sun/Mon night. Thanks in advance.
Jarda is on vacation. I did the backport: http://hg.netbeans.org/releases/rev/db6e571452ee
unfortunately this problem is fixed only on Linux, not on Mac FS. See issue 208392 .
-> marking verified - we verified (with P.Cyhelsky) that on linux works fine in both trunk and 7.1.1 RC1 build. For Mac problem is now separate issue 208392.