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

Bug 346929

Summary: CCE on following hyperlink of overwritten Xbase rule
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: sebastian.zarnekow
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: RC2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Karsten Thoms CLA 2011-05-24 01:22:06 EDT
Steps to reproduce:
- Create a DSL derived from Xbase
- Overwrite an Xbase rule, e.g.
  XVariableDeclaration returns xbase::XExpression:
    {xbase::XVariableDeclaration}
    type=JvmTypeReference name=ID '=' right=XExpression
  ;
- Activate hyperlink on rule name "XVariableDeclaration"

=> Xtext.xtext is opened and navigated to XVariableDeclaration, but a popup message with a CCE occurs:
org.eclipse.ui.editors.text.StorageDocumentProvider$StorageInfo cannot be cast to org.eclipse.ui.editors.text.FileDocumentProvider$FileInfo

Sample project can be found at
https://svn.codespot.com/a/eclipselabs.org/lwc11-xtext/trunk
- /org.xtext.lwc.instances
- /org.xtext.lwc.instances.ui
Comment 1 Sebastian Zarnekow CLA 2011-05-24 01:37:45 EDT

*** This bug has been marked as a duplicate of bug 346866 ***