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

Bug 322582

Summary: IOOBE in XtextResourceDescription#computeExportedObjects
Product: [Modeling] TMF Reporter: Michael Clay <clay>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Holger.Schill, sebastian.zarnekow
Version: 1.0.0Flags: sebastian.zarnekow: helios+
Target Milestone: SR1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
IOOBE
none
step4 none

Description Michael Clay CLA 2010-08-12 16:06:57 EDT
steps to reproduce:

1. create a new xtext project
2. add an additional grammar to the list of usedGrammars i.e.
grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.common.Terminals,org.eclipse.xtext.common.Terminals
generate myDsl "http://www.xtext.org/example/mydsl/MyDsl"
Model:
	greetings+=Greeting*;
Greeting:
	'Hello' name=ID '!';
3. editor indicates an error from validation rule 'Too many matches for reference to org.eclipse.xtext.common.Terminals....' 
4. select and mark the last added used grammar (exclude the ',' separator from the selection)
5. delete the selection and immedeately invoke CA afterwards
Comment 1 Michael Clay CLA 2010-08-12 16:08:08 EDT
Created attachment 176498 [details]
IOOBE
Comment 2 Michael Clay CLA 2010-08-12 16:08:28 EDT
Created attachment 176499 [details]
step4
Comment 3 Sebastian Zarnekow CLA 2010-08-25 13:19:14 EDT
Seems to be fixed in HEAD.
Comment 4 Karsten Thoms CLA 2017-09-19 15:37:13 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.