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

Bug 349990

Summary: NPE after mwe2 generation
Product: [Modeling] TMF Reporter: Dennis Huebner <dennis.huebner>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: sebastian.zarnekow
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Dennis Huebner CLA 2011-06-21 16:25:12 EDT
Xtext 2.0.0 final
eclipse 3.7

Xtext example project is created using the wizard. After successful mwe2 generator run an NPE is logged in eclipse .log.

Maybe points to a bug?

java.lang.NullPointerException
	at org.eclipse.xtext.ui.editor.validation.AnnotationIssueProcessor.updateMarkerAnnotations(AnnotationIssueProcessor.java:170)
	at org.eclipse.xtext.ui.editor.validation.AnnotationIssueProcessor.processIssues(AnnotationIssueProcessor.java:72)
	at org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:67)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Sebastian Zarnekow CLA 2011-07-04 12:44:07 EDT
The exception leads to an error dialog from time to time. I guess the error message is shown as soon as a library file is open, e.g. Xbase.xtext
Comment 2 Sebastian Zarnekow CLA 2011-07-12 16:49:47 EDT

*** This bug has been marked as a duplicate of bug 347443 ***