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

Bug 346866

Summary: CCE in XtextDocumentProvider.isSynchronized
Product: [Modeling] TMF Reporter: Michael Clay <clay>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: karsten.thoms, sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: RC2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 346864    
Bug Blocks:    

Description Michael Clay CLA 2011-05-23 09:12:17 EDT
steps to reproduce: Open file revision from Local History dialog

java.lang.ClassCastException: org.eclipse.ui.editors.text.StorageDocumentProvider$StorageInfo cannot be cast to org.eclipse.ui.editors.text.FileDocumentProvider$FileInfo
	at org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.isSynchronized(XtextDocumentProvider.java:246)
	at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4784)
	at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:223)
	at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4763)
	at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:988)
	at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:945)
	at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
Comment 1 Sven Efftinge CLA 2011-05-23 09:16:37 EDT
*** Bug 346864 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Zarnekow CLA 2011-05-24 01:37:45 EDT
*** Bug 346929 has been marked as a duplicate of this bug. ***
Comment 3 Sven Efftinge CLA 2011-05-24 02:20:54 EDT
pushed to master
Comment 4 Karsten Thoms CLA 2017-09-19 17:43:24 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 17:54:29 EDT
Closing all bugs that were set to RESOLVED before Neon.0