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

Bug 312882

Summary: [Hover] NPE in Problem Hover
Product: [Modeling] TMF Reporter: Jan Koehnlein <jan>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: jan: helios+
Version: 1.0.0   
Target Milestone: RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Jan Koehnlein CLA 2010-05-14 06:00:19 EDT
I am occasionally receiving the following NPE in the Xtext grammar editor

java.lang.NullPointerException
	at org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoInternal(ProblemHover.java:37)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:63)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:1)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Comment 1 Jan Koehnlein CLA 2010-05-14 06:07:31 EDT
Added a NPE guard.
Comment 2 Karsten Thoms CLA 2017-09-19 15:47:12 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.