Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338944 - 100% cpu and hangs indefinitely on project import
Summary: 100% cpu and hangs indefinitely on project import
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Milos Kleint CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 10:26 EST by Milos Kleint CLA
Modified: 2021-04-19 13:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint CLA 2011-03-04 10:26:20 EST
checkout maven-trunks - https://svn.apache.org/repos/asf/maven/trunks
attempt to import all of the projects.. 
then change the Name template by selecting a template from the list. 
-> the UI hangs and CPU runs at 100%
Comment 1 Milos Kleint CLA 2011-03-07 07:51:40 EST
I also get this exception in the eclipse error log.
both problems seem to be caused by a pom.xml  at sandbox/other/maven-project/src/main/resources which contains empty element for everything.. 

Caused by: java.lang.IllegalArgumentException: Path for project must have only one segment.
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:183)
at org.eclipse.m2e.core.project.ProjectImportConfiguration.getProject(ProjectImportConfiguration.java:105)
at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizardPage.isAlreadyExists(MavenImportWizardPage.java:457)
at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizardPage.updateCheckedState(MavenImportWizardPage.java:434)
at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizardPage.setAllChecked(MavenImportWizardPage.java:424)
at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizardPage.scanProjects(MavenImportWizardPage.java:369)
at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizardPage$1$1.run(MavenImportWizardPage.java:150)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 44 more
Comment 2 Milos Kleint CLA 2011-03-07 08:39:37 EST
shall have both issues fixed.

http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=ba4071b2ae824fd5a5e6f901784c1c49c19f50a2
Comment 3 Denis Roy CLA 2021-04-19 13:26:46 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/