Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] StaleMutableProjectRegistryException: how can I avoid it?

StaleMutableProjectRegistryException means that workspace project registry is being modified by multiple threads running concurrently. This shouldn't be possible under normal conditions, so most likely you need to serialize your test execution.
 
--
Regards,
Igor
 
 
On Mon, Jun 27, 2016, at 10:27 AM, Aurelien Pupier wrote:
Hi,
 
whiel playing tests on CI, I regularly have the StaleMutableProjectRegistryException which is failing my tests.t
 
I would like to know if you have ideas why it happens and why it is not deterministic?
 
java.lang.reflect.InvocationTargetException: null
        at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:456)
        at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:350)
        at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:297)
        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:252)
        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.run(ProjectConfigurationManager.java:521)
        at org.eclipse.m2e.core.internal.embedder.AbstractRunnable.call(AbstractRunnable.java:26)
        at org.eclipse.m2e.core.internal.embedder.AbstractRunnable.call(AbstractRunnable.java:1)
        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)
        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
        at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
        at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1355)
        at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.enableMavenNature(ProjectConfigurationManager.java:518)
        at org.fusesource.ide.projecttemplates.adopters.configurators.MavenTemplateConfigurator.configureMavenNature(MavenTemplateConfigurator.java:80)
        at org.fusesource.ide.projecttemplates.adopters.configurators.MavenTemplateConfigurator.configure(MavenTemplateConfigurator.java:52)
        at org.fusesource.ide.projecttemplates.adopters.AbstractProjectTemplate.create(AbstractProjectTemplate.java:53)
        at org.fusesource.ide.projecttemplates.wizards.FuseIntegrationProjectCreatorRunnable.run(FuseIntegrationProjectCreatorRunnable.java:94)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
        at org.fusesource.ide.projecttemplates.tests.integration.wizards.FuseIntegrationProjectCreatorRunnableIT.testEmptyProjectCreation(FuseIntegrationProjectCreatorRunnableIT.java:118)
        at org.fusesource.ide.projecttemplates.tests.integration.wizards.FuseIntegrationProjectCreatorRunnableIT.testEmptyBlueprintProjectCreation(FuseIntegrationProjectCreatorRunnableIT.java:84)
 
Thanks for your help
 
--
Aurelien Pupier
Senior Software Engineer in JBoss Fuse Tooling team
@apupier
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users
 

Back to the top