Community
Participate
Working Groups
Build Identifier: 20100218-1602 The following grammar with rule for root object contains a rule defining the header of a model instance. No terminal rules are hidden and thus WS is explicitly given, a model instance must contain the exact text "[mydsl 1.0]" with arbitrary numbers. MyDsl : header=MyDslHeader 'mydls' name=ID ... ; MyDslHeader hidden() : '[' 'mydsl' WS majorVersion=INT '.' minorVersion=INT ']' ; When serializing a model instance (using Xtext 1.0.0 M7) an NPE is raised in org.eclipse.xtext.validation.impl.ConcreteSyntaxConstraintProvider.createElement on line 336 because "ele" is null. Reproducible: Always
I'll take a look at this shortly.
This is actually the ConcreteSyntaxConstraintProvider having trouble to digest unassigned rule calls.
Fixed in HEAD.
Closing bug which were set to RESOLVED before Eclipse Neon.0.