Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369453 - [xtend][ui] NPE in XtendInformationControl.setInput
Summary: [xtend][ui] NPE in XtendInformationControl.setInput
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M5   Edit
Assignee: Holger Schill CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 16:43 EST by Sebastian Zarnekow CLA
Modified: 2017-09-19 17:04 EDT (History)
1 user (show)

See Also:
Holger.Schill: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2012-01-23 16:43:39 EST
Cannot reproduce atm, but found this exception quite often in the console log


Caused by: java.lang.NullPointerException
	at org.eclipse.xtext.xtend2.ui.hover.XtendInformationControl.setInput(XtendInformationControl.java:235)
	at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(AbstractInformationControlManager.java:1181)
	at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(AbstractInformationControlManager.java:1150)
	at org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation(AbstractHoverInformationControlManager.java:902)
	at org.eclipse.jface.text.TextViewerHoverManager.doPresentInformation(TextViewerHoverManager.java:243)
	at org.eclipse.jface.text.TextViewerHoverManager$5.run(TextViewerHoverManager.java:233)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
Comment 1 Holger Schill CLA 2012-01-24 03:43:09 EST
Will work on this issue this evening.
Comment 2 Holger Schill CLA 2012-01-24 15:48:15 EST
Added guards for possible Nullpointers. Could not reproduce the issue but in line 235 there were several steps in one line without guard.
Comment 3 Karsten Thoms CLA 2017-09-19 16:53:44 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:04:32 EDT
Closing all bugs that were set to RESOLVED before Neon.0