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 8.1 (Build 201510222201) Operating System = Linux version 3.19.0-33-generic running on amd64 Java; VM; Vendor = 1.8.0_60 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Reproducibility: Happens every time STEPS: * Create aproject ACTUAL: Scanning never ends EXPECTED: Scanning should be end and i would be able to find classes by clicking with ctr
Created attachment 157352 [details] IDE log
What happens when you remove user directory and cache directory and then restart? http://wiki.netbeans.org/FaqWhatIsUserdir
Nothing changes. It counts to %100 and never ends..
This is still a bug with the latest NetBeans, Java JRE, OS X operating system. I'm using PHP / Symfony2 project/s, excluding some of the app/ folder and restarting sometimes helps. But NetBeans Symfony2 support should already be ignoring the app/cache dir. It's been in various other bugs, and never really fixed. What do you guys want/need to take next steps to resolve this? I can't imagine it would be difficult to replicate.. I imagine Netbeans developers using Netbeans to write Netbeans would encounter this? or maybe it's limited to PHP / Symfony 2 Either way, there should be something catching it scanning too long, and also, when you try to cancel it, it causes all sorts problems.
Seems as PHP Specific problem. In the log there are exceptions from smarty framework and PHP parser errors. Please attach the stack trace or nps self profiling file, here are steps how to do it: 1) http://wiki.netbeans.org/GenerateThreadDump 2) http://wiki.netbeans.org/FitnessViaPartnership Thanks!
Taking over. (In reply to Tomas Zezula from comment #5) > 1) http://wiki.netbeans.org/GenerateThreadDump > 2) http://wiki.netbeans.org/FitnessViaPartnership Please, create a profiler snapshot once this problem appears again (take snapshot for about 30 seconds, create it once IDE is scanning "forever") and attach it. Or, if you have a sample project we can use to reproduce this problem, attach it. Then reopen this issue, thanks.