Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312882 - [Hover] NPE in Problem Hover
Summary: [Hover] NPE in Problem Hover
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 06:00 EDT by Jan Koehnlein CLA
Modified: 2017-09-19 15:47 EDT (History)
0 users

See Also:
jan: helios+


Attachments

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