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.ProjectRegistryMana- > ger.refresh(ProjectRegistryManager.java:456) > at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryMana- > ger.refresh(ProjectRegistryManager.java:350) > at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryMana- > ger.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(Abstr- > actRunnable.java:26) > at org.eclipse.m2e.core.internal.embedder.AbstractRunnable.call(Abstr- > actRunnable.java:1) > at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execu- > teBare(MavenExecutionContext.java:176) > at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execu- > te(MavenExecutionContext.java:151) > at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execu- > te(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.Maven- > TemplateConfigurator.configureMavenNature(MavenTemplateConfigurator- > .java:80) > at org.fusesource.ide.projecttemplates.adopters.configurators.MavenTe- > mplateConfigurator.configure(MavenTemplateConfigurator.java:52) > at org.fusesource.ide.projecttemplates.adopters.AbstractProjectTempla- > te.create(AbstractProjectTemplate.java:53) > at org.fusesource.ide.projecttemplates.wizards.FuseIntegrationProject- > CreatorRunnable.run(FuseIntegrationProjectCreatorRunnable.java:94) > at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalC- > ontext.java:463) > at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371) > at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonito- > rDialog.java:500) > at org.fusesource.ide.projecttemplates.tests.integration.wizards.Fuse- > IntegrationProjectCreatorRunnableIT.testEmptyProjectCreation(FuseInte- > grationProjectCreatorRunnableIT.java:118) > at org.fusesource.ide.projecttemplates.tests.integration.wizards.Fuse- > IntegrationProjectCreatorRunnableIT.testEmptyBlueprintProjectCreation- > (FuseIntegrationProjectCreatorRunnableIT.java:84) > > Thanks for your help > > -- > Aurelien Pupier > Senior Software Engineer in JBoss Fuse Tooling team > @apupier > _________________________________________________ > m2e-users mailing list > [email protected] > To change your delivery options, retrieve your password, or > unsubscribe from this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users
