NullPointerException on validation [message #45279] |
Mon, 25 May 2009 18:22  |
Eclipse User |
|
|
|
With my grammar I am getting NullPointerExceptions in
DatatypeRuleToken.internalMerge(String int)where the text is null -
usually because the text has not been completed by the user.
My grammar is rather complicated but the following grammar reproduces the
problem;-
Model :
(imports+=Import)*
(elements+=Class)*;
Import :
'import' importURI=STRING;
Class :
'class' name=ID ('extends' references=[Class])? (abbrev=ABBREV)?;
SPECIAL_ID : ID | INT ;
ABBREV: '<'SPECIAL_ID'>';
The following model text reproduces the problem;-
class A extends B<
Is this a bug?
Thanks.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03298 seconds