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

Bug 345388

Summary: NPE on refreshing OutlineView causes widget disposed error
Product: [Modeling] TMF Reporter: Karsten Thoms <karsten.thoms>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jan, sebastian.zarnekow
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: SR2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Stacktrace none

Description Karsten Thoms CLA 2011-05-11 05:40:04 EDT
Created attachment 195318 [details]
Stacktrace

Xtext version: 2.0.0.v201105101404

I could not reproduce this problem, but I got a "Widget disposed" pop up. From the stack trace I could see that it was caused by a NPE:

74745 [Thread-1] ERROR org.eclipse.xtext.ui.editor.outline.impl.OutlinePage  - Error refreshing outline
java.lang.NullPointerException
	at org.eclipse.xtext.ui.editor.outline.impl.OutlinePage$3.inputDocumentChanged(OutlinePage.java:155)


See attached the full stack trace.
Comment 1 Jan Koehnlein CLA 2011-08-29 12:01:52 EDT
Duplicate.

*** This bug has been marked as a duplicate of bug 354051 ***
Comment 2 Karsten Thoms CLA 2017-09-19 17:46:46 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:57:48 EDT
Closing all bugs that were set to RESOLVED before Neon.0