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.

Bug 200067 - Scanning Projects (in PHP projects) hangs
Summary: Scanning Projects (in PHP projects) hangs
Status: RESOLVED DUPLICATE of bug 200070
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-07-12 08:24 UTC by rrohm
Modified: 2011-07-14 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiling Snapshot, taken while the IDE scanned projects (10.37 KB, application/octet-stream)
2011-07-14 13:21 UTC, rrohm
Details
Thread dump while scanning seemed to hang (15.08 KB, text/plain)
2011-07-14 13:36 UTC, rrohm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rrohm 2011-07-12 08:24:12 UTC
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

Scanning Projects (in PHP projects) gets stuck in netbeans-7.0/php/phpstubs/phpruntime, but eventually also in my own projects. It does not finish for over 40 minutes and still hangs at 78 % - on a quad-core machine. 

Also, the "Scanning projects" process is not interuptable in the task overview/procesbar in the status bar - why not?
This feature is error prone since several version of Netbeans up to NB 7.0 now - please let users at least kill the process if it got stuck.

I would suggest to at least add the "tiny cross button" for shutting down a scanning process manually. 
It is very good that a hanging scan process does not freeze important functions of the IDE any more, but it still needs improvement. Currently it is still very annoying.
Comment 1 Tomas Mysik 2011-07-14 09:37:42 UTC
Please, reopen this issue and attach several thread dumps [1] taken after the IDE freezes so we can help you.

Thanks.
[1] http://wiki.netbeans.org/GenerateThreadDump
Comment 2 rrohm 2011-07-14 13:21:59 UTC
Created attachment 109437 [details]
Profiling Snapshot, taken while the IDE scanned projects

This is a profiling snapshot taken when the projects scanning seemed to hang. 
I hope, that helps.
Comment 3 rrohm 2011-07-14 13:36:10 UTC
Created attachment 109438 [details]
Thread dump while scanning seemed to hang

Full thread dump while the scanning projects progressbar stayed at 4 % for several minutes.

Maybe this attachment is also useful for bug# 200070. 
HTH, R. Rohm
Comment 4 Tomas Mysik 2011-07-14 13:43:59 UTC
From the snapshot, duplicate of issue #200070.

*** This bug has been marked as a duplicate of bug 200070 ***