"Resource 'xxx' already exists." on a clean checkout.

Bug #1268564 reported by darren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
New
Undecided
Unassigned

Bug Description

After creating a new workspace and switching to it, I follow the file > import > project from bazaar, enter the repo information, select checkout and press next, and finish. This begins the process of fetching the repo and checking it out. Once it has finished downloading, it begins to create the workspace and it halts with the error that "Resource 'xxx' already exists." refering to a specific folder. The import wizard can then not be completed and the process has to be aborted.

Revision history for this message
Piotr Piastucki (piastucki) wrote :

Please provide the following details:
1) which version of bzr-eclipse plugin are you using?
2) did you select any wizard a wizard to create a new project once the source code was checked out or was the .project file already present in the repository?
3) would you try the latest development build and confirm the issues persists? An update site with nightly builds can be found here:
http://bzreclipse.org/jenkins/job/bzr-eclipse/lastSuccessfulBuild/artifact/org.vcs.bazaar.eclipse.site/target/site/

Revision history for this message
darren (darrcroucher) wrote :

I was running the stable build from the eclipse marketplace - 1.3.0. The only wizard I was able to use in that build was the Import > Project from Bazaar. That wizard would not complete beyond the point of the bug.

I have now attempted with the dev build you mentioned. This time the import wizard completed and prompted to create a project (the repo does not contain any .project files). I started the "new java project" wizard and entered some basic details. After this, the bottom-right infobar of eclipse said building workspace up to about 62% and then froze for a while, and finally stopped with the following popup:
--
Multiple Errors have occurred:

An internal error occurred during: "Building workspace".
Java heap space

An internal error occurred during: "Java indexing... 32442 files to index (/xxx)".
Java heap space

An internal error occurred during: "Searching for markers".
Java heap space

Unhandled event loop exception
Java heap space
--

Eclipse then recommended that I 'close the workspace' and promptly exited.

Revision history for this message
Piotr Piastucki (piastucki) wrote :

Java heap space issue seems to be related to Eclipse configuration rather than Bzr-eclipse plugin.
Try increasing the heap size in eclipse.ini file e.g. to set it to 1GB:
-Xmx1024m

Revision history for this message
darren (darrcroucher) wrote :

After another crash at 1024, I set it to -Xmx2048m and it worked.

Appears to be sorted with the 1.4.0 dev build. Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.