Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338954

Summary: NPE configuration exception request
Product: z_Archived Reporter: Pascal Rapicault <pascal>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Pascal Rapicault CLA 2011-03-04 11:12:47 EST
I'm restarting a workspace that I created yesterday and I'm getting the following exception.
The only thing that was kind of weird about the initial setup of this workspace was that I had a project that was closed by the editor for the pom contained in this project was not closed.
After I closed the editor and restarted, the NPE was gone.

java.lang.NullPointerException
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.configureExecutionRequest(ProjectRegistryManager.java:736)
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.createExecutionRequest(ProjectRegistryManager.java:731)
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.readProjectWithDependencies(ProjectRegistryManager.java:678)
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.create(ProjectRegistryManager.java:174)
	at org.eclipse.m2e.core.project.MavenProjectManager.create(MavenProjectManager.java:86)
	at org.eclipse.m2e.core.ui.internal.actions.SelectionUtil.getMavenProject(SelectionUtil.java:275)
	at org.eclipse.m2e.editor.pom.MavenPomEditor.readMavenProject(MavenPomEditor.java:825)
	at org.eclipse.m2e.editor.pom.MavenPomEditor$8.run(MavenPomEditor.java:1146)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Igor Fedorenko CLA 2011-08-01 01:56:30 EDT
Closing old bug reports. Please reopen if you still see the problem with m2e 1.0
Comment 2 Denis Roy CLA 2021-04-19 13:26:13 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/