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 123272

Summary: GUI Lockup while renaming a project
Product: java Reporter: devon_c_miller <devon_c_miller>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic, sustaining
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Output from JStack
var/log/messages.log

Description devon_c_miller 2007-12-03 17:00:00 UTC
I am running 6.0rc2.

I have two directories with the same project checked out in each. One that reflects the current production build; the
other, the current production build plus some patches. Both appear in the project list as commonlib. I attempted to
rename the patch directory project from 'commonlib' to 'commonlib (B)', but did not check "Also Rename Project Folder".
After clicking "Rename" the dialog displayed the progress bar which climbed to 80% at which point it stopped and the cpu
went idle. After 10 minutes, I ran jstack, killed NB and restarted.

I will attach Stack.txt and messages.log
Comment 1 devon_c_miller 2007-12-03 17:03:17 UTC
Created attachment 53785 [details]
Output from JStack
Comment 2 devon_c_miller 2007-12-03 17:04:05 UTC
Created attachment 53786 [details]
var/log/messages.log
Comment 3 devon_c_miller 2007-12-03 17:09:34 UTC
The var/log/messages.log indicates the process ran out of heap.
The value of netbeans_default_options was
    -J-server -J-Xss2m -J-Xms32m -J-XX:PermSize=32m
    -J-XX:MaxPermSize=200m -J-Xverify:none
    -J-Dapple.laf.useScreenMenuBar=true
    -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled
    -J-XX:+CMSPermGenSweepingEnabled -J-Xmx768m
My machine has  1.5GB ram with a 1.5GB paging file.
Comment 4 Peter Pis 2007-12-04 09:01:14 UTC
Reassigning to "java" for evaluation.
Comment 6 Jiri Prox 2008-01-31 12:21:19 UTC
verified 

Product Version: NetBeans IDE Dev (Build 20080131063200)
Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06
Comment 7 Karthikeyan Rajeswaran 2008-02-11 02:55:20 UTC
The fix has been ported into the release601_fixes branch.

Checking in ClassIndex.java;
/cvs/java/source/src/org/netbeans/api/java/source/Attic/ClassIndex.java,v  <--  ClassIndex.java
new revision: 1.10.6.1; previous revision: 1.10
done