Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338268 - NPE in marker validation service
Summary: NPE in marker validation service
Status: CLOSED INVALID
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-02-25 14:57 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-02-25 14:57:28 EST
Not quite sure when this is opening, but I'm getting the following NPE.
java.lang.NullPointerException: null
	at org.eclipse.m2e.editor.xml.internal.MarkerLocationService.checkVarious(MarkerLocationService.java:517) [org.eclipse.m2e.editor.xml/:na]
	at org.eclipse.m2e.editor.xml.internal.MarkerLocationService.addEditorHintMarkers(MarkerLocationService.java:215) [org.eclipse.m2e.editor.xml/:na]
	at org.eclipse.m2e.core.internal.markers.MarkerUtils.addEditorHintMarkers(MarkerUtils.java:61) [org.eclipse.m2e.core/:na]
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.readMavenProject(ProjectRegistryManager.java:576) [org.eclipse.m2e.core/:na]
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:375) [org.eclipse.m2e.core/:na]
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:343) [org.eclipse.m2e.core/:na]
	at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.run(ProjectRegistryRefreshJob.java:90) [org.eclipse.m2e.core/:na]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar:na]
Comment 1 Milos Kleint CLA 2011-02-28 02:09:15 EST
pascal, what version of the m2e are you using? the current codebase doesn't have code on that line. hard to tell what went wrong in the method.
Comment 2 Pascal Rapicault CLA 2011-02-28 11:42:09 EST
I can't reproduce with today's version
Comment 3 Denis Roy CLA 2021-04-19 13:26:06 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/