Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338954 - NPE configuration exception request
Summary: NPE configuration exception request
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 11:12 EST by Pascal Rapicault CLA
Modified: 2021-04-19 13:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/