Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345521 - [generator][serializer] RuntimeException with ComplexReconstrTestLanguage
Summary: [generator][serializer] RuntimeException with ComplexReconstrTestLanguage
Status: CLOSED INVALID
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 01:41 EDT by Sebastian Zarnekow CLA
Modified: 2011-05-20 10:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2011-05-12 01:41:04 EDT
java.lang.RuntimeException: Feature name not found in TypeB
	at org.eclipse.xtext.serializer.analysis.GrammarConstraintProvider$Constraint.collectElements(GrammarConstraintProvider.java:182)
	at org.eclipse.xtext.serializer.analysis.GrammarConstraintProvider$Constraint.collectElements(GrammarConstraintProvider.java:196)
	at org.eclipse.xtext.serializer.analysis.GrammarConstraintProvider$Constraint.initLists(GrammarConstraintProvider.java:274)
	at org.eclipse.xtext.serializer.analysis.GrammarConstraintProvider$AbstractConstraintContext.initConstraints(GrammarConstraintProvider.java:89)
	at org.eclipse.xtext.serializer.analysis.GrammarConstraintProvider.filterDuplicateConstraintsAndSetNames(GrammarConstraintProvider.java:1192)
	at org.eclipse.xtext.serializer.analysis.GrammarConstraintProvider.getConstraints(GrammarConstraintProvider.java:1319)
	at org.eclipse.xtext.generator.serializer.SemanticSequencerUtil.getGrammarConstraints(SemanticSequencerUtil.java:74)
	at org.eclipse.xtext.generator.serializer.AbstractSemanticSequencer.getAccessedPackages(AbstractSemanticSequencer.java:66)
	at org.eclipse.xtext.generator.serializer.AbstractSemanticSequencer.getFileContents(AbstractSemanticSequencer.java:295)
	at org.eclipse.xtext.generator.serializer.SerializerFragment.generate(SerializerFragment.java:80)
	at org.eclipse.xtext.generator.Xtend2GeneratorFragment.generate(Xtend2GeneratorFragment.java:40)
Comment 1 Moritz Eysholdt CLA 2011-05-20 10:17:24 EDT
This is not a bug in the GrammarConstraintProvider; The missing EStructuralFeature ist supposed to be there. It's a bug in type inference: bug 346685.