Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337993 - Builds fail with error: configurators is null
Summary: Builds fail with error: configurators is null
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Paul Tatavu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 11:02 EST by Matthew Piggott CLA
Modified: 2021-04-19 13:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Piggott CLA 2011-02-23 11:02:14 EST
After updating to m2e 0.13.0.201102221506 any attempt to build the workspace resulted in errors for each project that 'configurators is null'.

Opening the Eclipse log there are a number of stack traces:

java.lang.IllegalStateException: configurators is null
at org.eclipse.m2e.core.internal.lifecycle.LifecycleMappingFactory.getProjectConfigurators(LifecycleMappingFactory.java:912)
at org.eclipse.m2e.core.project.configurator.AbstractCustomizableLifecycleMapping.getProjectConfigurators(AbstractCustomizableLifecycleMapping.java:101)
at org.eclipse.m2e.core.project.configurator.AbstractCustomizableLifecycleMapping.getBuildParticipants(AbstractCustomizableLifecycleMapping.java:49)
at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:166)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:716)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:228)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:281)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:284)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:340)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:363)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Paul Tatavu CLA 2011-02-23 11:14:16 EST
I fixed the problem:
http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=ccac2d36d92bf43058665aa83205cf0c2310ff1f

I'll keep the bug open until I add a unit test for it.
Comment 3 Pascal Rapicault CLA 2011-03-04 11:15:28 EST
Can't reproduce
Comment 4 Denis Roy CLA 2021-04-19 13:24:38 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/