Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349990 - NPE after mwe2 generation
Summary: NPE after mwe2 generation
Status: CLOSED DUPLICATE of bug 347443
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: SR1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 16:25 EDT by Dennis Huebner CLA
Modified: 2011-07-12 16:49 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

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