Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361201 - Project rename stuck at "performing changes"
Summary: Project rename stuck at "performing changes"
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 major with 1 vote (vote)
Target Milestone: 3.8 M5   Edit
Assignee: Serge Beauchamp CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 01:27 EDT by Mauro Molinari CLA
Modified: 2012-01-20 05:55 EST (History)
4 users (show)

See Also:


Attachments
Dump 1 (41.33 KB, text/plain)
2011-10-18 01:33 EDT, Mauro Molinari CLA
no flags Details
Dump 2 (43.55 KB, text/plain)
2011-10-18 01:33 EDT, Mauro Molinari CLA
no flags Details
Dump 3 (43.75 KB, text/plain)
2011-10-18 01:33 EDT, Mauro Molinari CLA
no flags Details
Dump 4 (42.68 KB, text/plain)
2011-10-18 01:34 EDT, Mauro Molinari CLA
no flags Details
Dump 5 (42.45 KB, text/plain)
2011-10-18 01:34 EDT, Mauro Molinari CLA
no flags Details
.project of the project I try to rename (6.64 KB, text/plain)
2011-10-18 05:52 EDT, Mauro Molinari CLA
no flags Details
Patch (1.83 KB, patch)
2011-10-21 05:07 EDT, Serge Beauchamp CLA
no flags Details | Diff
Git Patch, including junit test (3.97 KB, patch)
2012-01-20 05:54 EST, Serge Beauchamp CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Molinari CLA 2011-10-18 01:27:46 EDT
Build Identifier: M20110909-1335

I have a huge probject. When I try to rename it, the progress rapidly goes up to about 75%, then stays there. I can wait for hours, but it does not go further.

The project is a dynamic web project, with some links in it created using PROJECT_LOC variable. In the file system, this project has some folders containing other projects. 

PHYSICAL LAYOUT:
- MAIN_PROJECT
  - SUBPRJ1
  - SUBPRJ2

These (sub)-projects are "mounted" in the Eclipse workspace as individual projects. Some resource filters are set in the main project to hide those sub-project folders from the main project. So, the workspace layout is flat:

WORKSPACE LAYOUT:
- MAIN_PROJECT
- SUBPRJ1
- SUBPRJ2

I'm going to attach some thread dumps I made.

Reproducible: Always

Steps to Reproduce:
1. press F2 on the project name
2. change the project name
Comment 1 Mauro Molinari CLA 2011-10-18 01:33:00 EDT
Created attachment 205378 [details]
Dump 1

See the ModalContext thread of these dumps.
These dumps have been taken after waiting some hours and after trying to push the cancel button (red square on the right of the progress bar of the "Rename resource" dialog).
Comment 2 Mauro Molinari CLA 2011-10-18 01:33:21 EDT
Created attachment 205379 [details]
Dump 2
Comment 3 Mauro Molinari CLA 2011-10-18 01:33:42 EDT
Created attachment 205380 [details]
Dump 3
Comment 4 Mauro Molinari CLA 2011-10-18 01:34:01 EDT
Created attachment 205381 [details]
Dump 4
Comment 5 Mauro Molinari CLA 2011-10-18 01:34:22 EDT
Created attachment 205382 [details]
Dump 5
Comment 6 Serge Beauchamp CLA 2011-10-18 05:42:03 EDT
Can you provide a list of the path variables in your project?  Or attach the .project file?

Thanks,
Comment 7 Mauro Molinari CLA 2011-10-18 05:52:15 EDT
Created attachment 205403 [details]
.project of the project I try to rename

Here it is the .project file of the project I try to rename (which is the main project in the structure I mentioned).
Comment 8 Serge Beauchamp CLA 2011-10-21 05:07:29 EDT
Created attachment 205701 [details]
Patch

Fix for this bug.
Comment 9 John Arthorne CLA 2011-10-27 10:31:22 EDT
Adding a milestone so this patch doesn't get lost. Serge is this patch ready to go or just a work in progress?
Comment 10 Serge Beauchamp CLA 2011-12-01 11:07:37 EST
setting target to 3.8M5
Comment 11 Serge Beauchamp CLA 2012-01-20 05:54:34 EST
Created attachment 209800 [details]
Git Patch, including junit test

New git patch
Comment 12 Serge Beauchamp CLA 2012-01-20 05:55:26 EST
Now fixed on git's repository, on the master branch.