Community
Participate
Working Groups
Build Identifier: I20110519-1138 A grammar like the following with unordered group yields a NullpointerException after typing STRG-SPACE inside the brackets on: defined timeperiod { } GRAMMAR: Timeperiod: {Timeperiod} 'define' 'timeperiod' '{' (NL+ time+=TimeDef)* ( (NL+ 'timeperiod_name' name=UID (NL+ time+=TimeDef)* ) & (NL+ 'otherelement' alias=UID (NL+ time+=TimeDef)*)? ) NL+ '}'; TimeDef: 'july' day=INT ; NL Terminal ist a newline. NullpointerException: java.lang.NullPointerException at org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser.getFollowElements(AbstractContentAssistParser.java:94) at Reproducible: Always
Created attachment 197299 [details] Stacktrace of the NPE
In: org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser LINE 94: for(AbstractElement consumed: element.getHandledUnorderedGroupElements()) { The following statement element.getHandledUnorderedGroupElements() returns null
Fixed in June 24.
Closing all bugs that were set to RESOLVED before Neon.0