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

Bug 369453

Summary: [xtend][ui] NPE in XtendInformationControl.setInput
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Holger Schill <Holger.Schill>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Holger.Schill
Version: 2.3.0Flags: Holger.Schill: juno+
Target Milestone: M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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