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.
I have a number of project groups, each with a number of projects in them. I was working on one project group, saved all, changed to another project group opened a single file, copied the contents of that file to clipboard. Switched back to previous project group. Netbeans hangs. Looking at processes (using Sysinternals Process Explorer) I see there are now two netbeans proceses running. I indetify which is the one currently visible on screen and kill the other one. Still hangs, so kill the second process. Now netbeans fails to load.
update: netbeans now starts but it says it has a certain project group open none of the project in that group appear in the projects window. If i switch to another project group it openes it fine, but when i click back to the problem group there are still no projects in it.
update: netbeans now starts but it says it has a certain project group open none of the project in that group appear in the projects window. If i switch to another project group it openes it fine, but when i click back to the problem group there are still no projects in it. and it hangs for a minute or so saying scanning projects, then the projects appear. Note that there are only 3 projects in the group. 2 visual web and one java library. None are particularly big.
In such case when IDE hangs please generate thread dump (http://wiki.netbeans.org/GenerateThreadDump) and attach it to this issue. From your last comment I understand that the prj group is not corrupted.
Created attachment 85135 [details] Stack Dump when NB frozen
here is a stack dump from a frozen NB, it has done it again, Curiously this time it is not as frozen as before! it is stuck at Opening group "Group Name" stuck at 60% it says that i am in the group, but i am not, i only see the projects from the previous group. I can still access files from these projects but cannot change to any other groups. I can exit NB this time normaly but when i re-open it says the group is open but i see no projects. If i change groups to "none", then change back again my projects re-apear. odd.
Unfortunately the thread dump doesn't show frozen IDE. Better would be to provide some steps to reproduce the problem, description of those groups (type of group, how many projects, what project types, etc.) so I can try to reproduce the problem. Setting as INCOMPLETE, so far.
Created attachment 85409 [details] Thread dump from frozen NB
Ok, i've attached another thread dump which hopefully shows a frozen netbeans. This happened when starting netbeans, the suspect project group was the last one open and the open file tabs seem to show files from that project group. However, no projects appear in the project explorer and nothing is going on in the status bar. If this stack doesn't explain a bit better I will try to gather a clearer set of steps than those i've already provided, but it'll have to be once i clear a couple of work deadlines!
OK. So if i delete the file faces-config.NavData which is inside one of the projects in the suspect group netbeans now opens. So something is corrupting this file which is causing NB to fail to start and causing a problem switching between groups? Dunno where this defect should go now? It seems similar to one i logged a while back http://www.netbeans.org/issues/show_bug.cgi?id=167786 Does the same code run at startup as runs on project group switching which could cause a problem?
neilyboy, thanks for update ...
Please evaluate, thanks.
Obsolete issue. Closing.