Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Autocomplete inside quoted string
Autocomplete inside quoted string [message #1696355] Tue, 26 May 2015 04:30 Go to next message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
Hi guys,

I am trying to provide autocompletion inside quoted strings, but I am getting one error when the user press ctrl + space between ".

Caused by: java.lang.IllegalArgumentException: tokenType 0 seems to be invalid.

I need to cover the following case

{
clazz: "java.lang.Integer",
value: 1
}

When the cursor is after clazz: I need to suggest all the possible classes from my classpath.
I was able to do this outside the "" meaning

clazz: (If the user press ctrl + space, I am suggesting all the classes available in the current project)

However, I need to do the same but the user has to trigger the autocomplete after putting the " ". but if the user press ctrl + space inside the " I got the error mentioned above.

Does anyone have any idea on how to cover this functionality or did you do something similar?


Regards,
Luis
Re: Autocomplete inside quoted string [message #1696364 is a reply to message #1696355] Tue, 26 May 2015 06:19 Go to previous messageGo to next message
Uli Merkel is currently offline Uli MerkelFriend
Messages: 250
Registered: June 2013
Senior Member
Hi Luis,

just a small hint:
to use the content assist, the clazz shouldn't be expected as a string, but as a full-quoted-name.
Re: Autocomplete inside quoted string [message #1696432 is a reply to message #1696364] Tue, 26 May 2015 12:57 Go to previous messageGo to next message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
Hi Uli,

Thanks for answer, I checked the xtext model and as you said the clazz shouldn't be an string so in order to fix this, I filtered the JDT model manually (Using the same logic inside text common type), but now I need to be able to execute the content assist inside String (For instance in the near future I also need to implement string interpolation and I need to provide autocomplete for those cases as well).

I filtered the xtext model in the following way
https://www.eclipse.org/forums/index.php/t/1066795/

Regards,
Luis
Re: Autocomplete inside quoted string [message #1696453 is a reply to message #1696432] Tue, 26 May 2015 14:29 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13883
Registered: July 2009
Senior Member
please provide a complete stack strace

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Autocomplete inside quoted string [message #1696472 is a reply to message #1696453] Tue, 26 May 2015 15:19 Go to previous messageGo to next message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
Hi Christian,

This is the stack trace that I am getting after pressing ctrl + space inside ""

Stack trace:

at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSchemaElement(InternalDFLParser.java:1656)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__ElementsAssignment_2_0(InternalDFLParser.java:60678)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group_2__0__Impl(InternalDFLParser.java:17954)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group_2__0(InternalDFLParser.java:17907)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__2__Impl(InternalDFLParser.java:17788)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__2(InternalDFLParser.java:17733)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__1(InternalDFLParser.java:17659)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__0(InternalDFLParser.java:17580)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSchema(InternalDFLParser.java:1571)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__SchemaAssignment_3(InternalDFLParser.java:984)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__3__Impl(InternalDFLParser.java:59711)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__3(InternalDFLParser.java:59661)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__2(InternalDFLParser.java:59577)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__1(InternalDFLParser.java:59498)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__0(InternalDFLParser.java:59419)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleType(InternalDFLParser.java:7601)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Atomic__Alternatives(InternalDFLParser.java:13052)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAtomic(InternalDFLParser.java:5044)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0__Impl(InternalDFLParser.java:47142)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0(InternalDFLParser.java:47098)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePostfix(InternalDFLParser.java:4959)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Prefixed__Alternatives(InternalDFLParser.java:11107)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePrefixed(InternalDFLParser.java:4874)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0__Impl(InternalDFLParser.java:42341)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0(InternalDFLParser.java:42297)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleDefaultValueExpression(InternalDFLParser.java:4789)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__TypeAssignment_1_1(InternalDFLParser.java:64046)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group_1__1__Impl(InternalDFLParser.java:42018)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group_1__1(InternalDFLParser.java:41976)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group_1__0(InternalDFLParser.java:41892)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.synpred170_InternalDFLParser_fragment(InternalDFLParser.java:1590)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.synpred170_InternalDFLParser(InternalDFLParser.java:1860)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__1__Impl(InternalDFLParser.java:41826)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__1(InternalDFLParser.java:41779)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0(InternalDFLParser.java:41701)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAsExpression(InternalDFLParser.java:4704)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0__Impl(InternalDFLParser.java:41139)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0(InternalDFLParser.java:41095)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleJoinByExpression(InternalDFLParser.java:4619)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0__Impl(InternalDFLParser.java:40538)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0(InternalDFLParser.java:40494)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSplitByExpression(InternalDFLParser.java:4534)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0__Impl(InternalDFLParser.java:39775)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0(InternalDFLParser.java:39731)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleMultiplicationDivisionExpression(InternalDFLParser.java:4449)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0__Impl(InternalDFLParser.java:39012)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0(InternalDFLParser.java:38968)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleRightLeftExpression(InternalDFLParser.java:4364)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0__Impl(InternalDFLParser.java:38249)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0(InternalDFLParser.java:38205)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAppendExpression(InternalDFLParser.java:4279)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0__Impl(InternalDFLParser.java:37486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0(InternalDFLParser.java:37442)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAdditionSubtractionExpression(InternalDFLParser.java:4194)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0__Impl(InternalDFLParser.java:36723)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0(InternalDFLParser.java:36679)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleLessThanExpression(InternalDFLParser.java:4109)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0__Impl(InternalDFLParser.java:35960)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0(InternalDFLParser.java:35916)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleGreaterThanExpression(InternalDFLParser.java:4024)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0__Impl(InternalDFLParser.java:34865)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0(InternalDFLParser.java:34821)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleStringExpression(InternalDFLParser.java:3939)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0__Impl(InternalDFLParser.java:34264)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0(InternalDFLParser.java:34220)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleIsExpression(InternalDFLParser.java:3854)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0__Impl(InternalDFLParser.java:33501)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0(InternalDFLParser.java:33457)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleEqualityExpression(InternalDFLParser.java:3769)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0__Impl(InternalDFLParser.java:32900)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0(InternalDFLParser.java:32856)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAndExpression(InternalDFLParser.java:3684)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0__Impl(InternalDFLParser.java:32299)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0(InternalDFLParser.java:32255)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleOrExpression(InternalDFLParser.java:3599)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0__Impl(InternalDFLParser.java:31530)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0(InternalDFLParser.java:31486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleReplaceExpression(InternalDFLParser.java:3514)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0__Impl(InternalDFLParser.java:29411)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0(InternalDFLParser.java:29367)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleFunctionExpression(InternalDFLParser.java:3429)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0__Impl(InternalDFLParser.java:28480)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0(InternalDFLParser.java:28436)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleConditionalExpression(InternalDFLParser.java:3344)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleExpression(InternalDFLParser.java:3262)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__ValueAssignment_2(InternalDFLParser.java:61398)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__2__Impl(InternalDFLParser.java:20646)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__2(InternalDFLParser.java:20600)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__1(InternalDFLParser.java:20526)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__0(InternalDFLParser.java:20437)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleKeyValuePair(InternalDFLParser.java:2415)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ObjectElement__Alternatives(InternalDFLParser.java:8264)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleObjectElement(InternalDFLParser.java:2330)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__ElementsAssignment_2_0(InternalDFLParser.java:61263)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group_2__0__Impl(InternalDFLParser.java:20114)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group_2__0(InternalDFLParser.java:20067)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__2__Impl(InternalDFLParser.java:19948)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__2(InternalDFLParser.java:19893)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__1(InternalDFLParser.java:19819)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__0(InternalDFLParser.java:19740)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleMultipleKeyValuePairObj(InternalDFLParser.java:2245)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Atomic__Alternatives(InternalDFLParser.java:12968)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAtomic(InternalDFLParser.java:5044)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0__Impl(InternalDFLParser.java:47142)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0(InternalDFLParser.java:47098)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePostfix(InternalDFLParser.java:4959)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Prefixed__Alternatives(InternalDFLParser.java:11107)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePrefixed(InternalDFLParser.java:4874)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0__Impl(InternalDFLParser.java:42341)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0(InternalDFLParser.java:42297)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleDefaultValueExpression(InternalDFLParser.java:4789)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0__Impl(InternalDFLParser.java:41740)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0(InternalDFLParser.java:41696)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAsExpression(InternalDFLParser.java:4704)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0__Impl(InternalDFLParser.java:41139)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0(InternalDFLParser.java:41095)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleJoinByExpression(InternalDFLParser.java:4619)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0__Impl(InternalDFLParser.java:40538)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0(InternalDFLParser.java:40494)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSplitByExpression(InternalDFLParser.java:4534)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0__Impl(InternalDFLParser.java:39775)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0(InternalDFLParser.java:39731)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleMultiplicationDivisionExpression(InternalDFLParser.java:4449)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0__Impl(InternalDFLParser.java:39012)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0(InternalDFLParser.java:38968)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleRightLeftExpression(InternalDFLParser.java:4364)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0__Impl(InternalDFLParser.java:38249)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0(InternalDFLParser.java:38205)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAppendExpression(InternalDFLParser.java:4279)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0__Impl(InternalDFLParser.java:37486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0(InternalDFLParser.java:37442)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAdditionSubtractionExpression(InternalDFLParser.java:4194)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0__Impl(InternalDFLParser.java:36723)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0(InternalDFLParser.java:36679)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleLessThanExpression(InternalDFLParser.java:4109)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0__Impl(InternalDFLParser.java:35960)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0(InternalDFLParser.java:35916)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleGreaterThanExpression(InternalDFLParser.java:4024)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0__Impl(InternalDFLParser.java:34865)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0(InternalDFLParser.java:34821)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleStringExpression(InternalDFLParser.java:3939)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0__Impl(InternalDFLParser.java:34264)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0(InternalDFLParser.java:34220)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleIsExpression(InternalDFLParser.java:3854)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0__Impl(InternalDFLParser.java:33501)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0(InternalDFLParser.java:33457)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleEqualityExpression(InternalDFLParser.java:3769)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0__Impl(InternalDFLParser.java:32900)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0(InternalDFLParser.java:32856)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAndExpression(InternalDFLParser.java:3684)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0__Impl(InternalDFLParser.java:32299)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0(InternalDFLParser.java:32255)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleOrExpression(InternalDFLParser.java:3599)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0__Impl(InternalDFLParser.java:31530)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0(InternalDFLParser.java:31486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleReplaceExpression(InternalDFLParser.java:3514)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0__Impl(InternalDFLParser.java:29411)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0(InternalDFLParser.java:29367)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleFunctionExpression(InternalDFLParser.java:3429)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0__Impl(InternalDFLParser.java:28480)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0(InternalDFLParser.java:28436)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleConditionalExpression(InternalDFLParser.java:3344)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleExpression(InternalDFLParser.java:3262)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__ValueAssignment_2(InternalDFLParser.java:61398)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__2__Impl(InternalDFLParser.java:20646)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__2(InternalDFLParser.java:20600)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__1(InternalDFLParser.java:20526)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__0(InternalDFLParser.java:20437)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleKeyValuePair(InternalDFLParser.java:2415)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SingleKeyValuePairObj__ElementAssignment(InternalDFLParser.java:63191)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSingleKeyValuePairObj(InternalDFLParser.java:3180)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.synpred94_InternalDFLParser_fragment(InternalDFLParser.java:1116)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.synpred94_InternalDFLParser(InternalDFLParser.java:1818)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser$DFA36.specialState0(InternalDFLParser.java:2461)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser$DFA36.specialStateTransition(InternalDFLParser.java:2391)
at org.antlr.runtime.DFA.predict(DFA.java:80)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA.predict(DFA.java:26)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Atomic__Alternatives(InternalDFLParser.java:12852)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAtomic(InternalDFLParser.java:5044)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0__Impl(InternalDFLParser.java:47142)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0(InternalDFLParser.java:47098)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePostfix(InternalDFLParser.java:4959)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Prefixed__Alternatives(InternalDFLParser.java:11107)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePrefixed(InternalDFLParser.java:4874)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0__Impl(InternalDFLParser.java:42341)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0(InternalDFLParser.java:42297)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleDefaultValueExpression(InternalDFLParser.java:4789)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0__Impl(InternalDFLParser.java:41740)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0(InternalDFLParser.java:41696)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAsExpression(InternalDFLParser.java:4704)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0__Impl(InternalDFLParser.java:41139)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0(InternalDFLParser.java:41095)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleJoinByExpression(InternalDFLParser.java:4619)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0__Impl(InternalDFLParser.java:40538)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0(InternalDFLParser.java:40494)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSplitByExpression(InternalDFLParser.java:4534)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0__Impl(InternalDFLParser.java:39775)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0(InternalDFLParser.java:39731)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleMultiplicationDivisionExpression(InternalDFLParser.java:4449)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0__Impl(InternalDFLParser.java:39012)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0(InternalDFLParser.java:38968)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleRightLeftExpression(InternalDFLParser.java:4364)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0__Impl(InternalDFLParser.java:38249)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0(InternalDFLParser.java:38205)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAppendExpression(InternalDFLParser.java:4279)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0__Impl(InternalDFLParser.java:37486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0(InternalDFLParser.java:37442)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAdditionSubtractionExpression(InternalDFLParser.java:4194)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0__Impl(InternalDFLParser.java:36723)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0(InternalDFLParser.java:36679)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleLessThanExpression(InternalDFLParser.java:4109)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0__Impl(InternalDFLParser.java:35960)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0(InternalDFLParser.java:35916)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleGreaterThanExpression(InternalDFLParser.java:4024)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0__Impl(InternalDFLParser.java:34865)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0(InternalDFLParser.java:34821)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleStringExpression(InternalDFLParser.java:3939)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0__Impl(InternalDFLParser.java:34264)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0(InternalDFLParser.java:34220)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleIsExpression(InternalDFLParser.java:3854)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0__Impl(InternalDFLParser.java:33501)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0(InternalDFLParser.java:33457)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleEqualityExpression(InternalDFLParser.java:3769)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0__Impl(InternalDFLParser.java:32900)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0(InternalDFLParser.java:32856)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAndExpression(InternalDFLParser.java:3684)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0__Impl(InternalDFLParser.java:32299)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0(InternalDFLParser.java:32255)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleOrExpression(InternalDFLParser.java:3599)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0__Impl(InternalDFLParser.java:31530)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0(InternalDFLParser.java:31486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleReplaceExpression(InternalDFLParser.java:3514)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0__Impl(InternalDFLParser.java:29411)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0(InternalDFLParser.java:29367)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleFunctionExpression(InternalDFLParser.java:3429)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0__Impl(InternalDFLParser.java:28480)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0(InternalDFLParser.java:28436)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleConditionalExpression(InternalDFLParser.java:3344)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleExpression(InternalDFLParser.java:3262)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Content__ElementsAssignment(InternalDFLParser.java:61218)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleContent(InternalDFLParser.java:2160)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Body__ContentAssignment_1(InternalDFLParser.java:59852)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Body__Group__1__Impl(InternalDFLParser.java:14833)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Body__Group__1(InternalDFLParser.java:14791)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Body__Group__0(InternalDFLParser.java:14696)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleBody(InternalDFLParser.java:458)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Document__BodyAssignment(InternalDFLParser.java:59762)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleDocument(InternalDFLParser.java:370)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.entryRuleDocument(InternalDFLParser.java:319)
at org.mule.tooling.dfl.ui.contentassist.antlr.DFLParser.getFollowElements(DFLParser.java:469)
at org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser.getFollowElements(AbstractContentAssistParser.java:340)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory$StatefulFactory.createContextsForLastCompleteNode(ParserBasedContentAssistContextFactory.java:388)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory$StatefulFactory.handleLastCompleteNodeIsPartOfLookahead(ParserBasedContentAssistContextFactory.java:323)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory$StatefulFactory$3.call(ParserBasedContentAssistContextFactory.java:276)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory$StatefulFactory$3.call(ParserBasedContentAssistContextFactory.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

!ENTRY org.apache.log4j 4 0 2015-05-26 12:08:07.269
!MESSAGE org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory - java.lang.IllegalArgumentException: tokenType 0 seems to be invalid.

!STACK 0
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: tokenType 0 seems to be invalid.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory$StatefulFactory.doCreateContexts(ParserBasedContentAssistContextFactory.java:286)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory$StatefulFactory.create(ParserBasedContentAssistContextFactory.java:223)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.create(ParserBasedContentAssistContextFactory.java:778)
at org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.createContentAssistContexts(CompletionProposalComputer.java:67)
at org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.exec(CompletionProposalComputer.java:49)
at org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.exec(CompletionProposalComputer.java:1)
at org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:121)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:520)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.priorityReadOnly(XtextDocument.java:485)
at org.eclipse.xtext.ui.editor.model.XtextDocument.priorityReadOnly(XtextDocument.java:142)
at org.eclipse.xtext.ui.editor.contentassist.XtextContentAssistProcessor.computeCompletionProposals(XtextContentAssistProcessor.java:69)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1861)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1687)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:932)
at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1501)
at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
at org.mule.tooling.ui.dfl.contribution.editor.action.ContextAwareAction.runWithEvent(ContextAwareAction.java:114)
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:122)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1087)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4184)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1500)
at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5719)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5629)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2105)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2329)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5691)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5128)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5277)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.IllegalArgumentException: tokenType 0 seems to be invalid.
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser.createLookAheadTerminal(AbstractInternalContentAssistParser.java:533)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser$DefaultFollowElementFactory.createFollowElement(AbstractInternalContentAssistParser.java:76)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser$3$1.createFollowElement(AbstractInternalContentAssistParser.java:340)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser.createFollowElement(AbstractInternalContentAssistParser.java:509)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser$5.announceEof(AbstractInternalContentAssistParser.java:445)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser$3.announceEof(AbstractInternalContentAssistParser.java:387)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser.announceEof(AbstractInternalContentAssistParser.java:570)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ObservableXtextTokenStream.LA(ObservableXtextTokenStream.java:48)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SchemaElement__Group__2__Impl(InternalDFLParser.java:18469)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SchemaElement__Group__2(InternalDFLParser.java:18429)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SchemaElement__Group__1(InternalDFLParser.java:18355)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SchemaElement__Group__0(InternalDFLParser.java:18266)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSchemaElement(InternalDFLParser.java:1656)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__ElementsAssignment_2_0(InternalDFLParser.java:60678)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group_2__0__Impl(InternalDFLParser.java:17954)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group_2__0(InternalDFLParser.java:17907)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__2__Impl(InternalDFLParser.java:17788)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__2(InternalDFLParser.java:17733)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__1(InternalDFLParser.java:17659)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Schema__Group__0(InternalDFLParser.java:17580)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSchema(InternalDFLParser.java:1571)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__SchemaAssignment_3(InternalDFLParser.java:984)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__3__Impl(InternalDFLParser.java:59711)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__3(InternalDFLParser.java:59661)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__2(InternalDFLParser.java:59577)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__1(InternalDFLParser.java:59498)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Type__Group__0(InternalDFLParser.java:59419)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleType(InternalDFLParser.java:7601)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Atomic__Alternatives(InternalDFLParser.java:13052)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAtomic(InternalDFLParser.java:5044)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0__Impl(InternalDFLParser.java:47142)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0(InternalDFLParser.java:47098)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePostfix(InternalDFLParser.java:4959)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Prefixed__Alternatives(InternalDFLParser.java:11107)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePrefixed(InternalDFLParser.java:4874)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0__Impl(InternalDFLParser.java:42341)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0(InternalDFLParser.java:42297)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleDefaultValueExpression(InternalDFLParser.java:4789)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__TypeAssignment_1_1(InternalDFLParser.java:64046)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group_1__1__Impl(InternalDFLParser.java:42018)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group_1__1(InternalDFLParser.java:41976)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group_1__0(InternalDFLParser.java:41892)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.synpred170_InternalDFLParser_fragment(InternalDFLParser.java:1590)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.synpred170_InternalDFLParser(InternalDFLParser.java:1860)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__1__Impl(InternalDFLParser.java:41826)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__1(InternalDFLParser.java:41779)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0(InternalDFLParser.java:41701)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAsExpression(InternalDFLParser.java:4704)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0__Impl(InternalDFLParser.java:41139)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0(InternalDFLParser.java:41095)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleJoinByExpression(InternalDFLParser.java:4619)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0__Impl(InternalDFLParser.java:40538)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0(InternalDFLParser.java:40494)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSplitByExpression(InternalDFLParser.java:4534)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0__Impl(InternalDFLParser.java:39775)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0(InternalDFLParser.java:39731)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleMultiplicationDivisionExpression(InternalDFLParser.java:4449)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0__Impl(InternalDFLParser.java:39012)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__RightLeftExpression__Group__0(InternalDFLParser.java:38968)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleRightLeftExpression(InternalDFLParser.java:4364)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0__Impl(InternalDFLParser.java:38249)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AppendExpression__Group__0(InternalDFLParser.java:38205)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAppendExpression(InternalDFLParser.java:4279)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0__Impl(InternalDFLParser.java:37486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AdditionSubtractionExpression__Group__0(InternalDFLParser.java:37442)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAdditionSubtractionExpression(InternalDFLParser.java:4194)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0__Impl(InternalDFLParser.java:36723)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__LessThanExpression__Group__0(InternalDFLParser.java:36679)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleLessThanExpression(InternalDFLParser.java:4109)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0__Impl(InternalDFLParser.java:35960)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__GreaterThanExpression__Group__0(InternalDFLParser.java:35916)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleGreaterThanExpression(InternalDFLParser.java:4024)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0__Impl(InternalDFLParser.java:34865)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__StringExpression__Group__0(InternalDFLParser.java:34821)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleStringExpression(InternalDFLParser.java:3939)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0__Impl(InternalDFLParser.java:34264)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__IsExpression__Group__0(InternalDFLParser.java:34220)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleIsExpression(InternalDFLParser.java:3854)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0__Impl(InternalDFLParser.java:33501)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__EqualityExpression__Group__0(InternalDFLParser.java:33457)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleEqualityExpression(InternalDFLParser.java:3769)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0__Impl(InternalDFLParser.java:32900)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AndExpression__Group__0(InternalDFLParser.java:32856)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAndExpression(InternalDFLParser.java:3684)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0__Impl(InternalDFLParser.java:32299)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__OrExpression__Group__0(InternalDFLParser.java:32255)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleOrExpression(InternalDFLParser.java:3599)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0__Impl(InternalDFLParser.java:31530)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ReplaceExpression__Group__0(InternalDFLParser.java:31486)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleReplaceExpression(InternalDFLParser.java:3514)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0__Impl(InternalDFLParser.java:29411)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__FunctionExpression__Group__0(InternalDFLParser.java:29367)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleFunctionExpression(InternalDFLParser.java:3429)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0__Impl(InternalDFLParser.java:28480)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ConditionalExpression__Group__0(InternalDFLParser.java:28436)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleConditionalExpression(InternalDFLParser.java:3344)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleExpression(InternalDFLParser.java:3262)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__ValueAssignment_2(InternalDFLParser.java:61398)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__2__Impl(InternalDFLParser.java:20646)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__2(InternalDFLParser.java:20600)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__1(InternalDFLParser.java:20526)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__KeyValuePair__Group__0(InternalDFLParser.java:20437)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleKeyValuePair(InternalDFLParser.java:2415)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__ObjectElement__Alternatives(InternalDFLParser.java:8264)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleObjectElement(InternalDFLParser.java:2330)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__ElementsAssignment_2_0(InternalDFLParser.java:61263)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group_2__0__Impl(InternalDFLParser.java:20114)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group_2__0(InternalDFLParser.java:20067)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__2__Impl(InternalDFLParser.java:19948)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__2(InternalDFLParser.java:19893)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__1(InternalDFLParser.java:19819)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultipleKeyValuePairObj__Group__0(InternalDFLParser.java:19740)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleMultipleKeyValuePairObj(InternalDFLParser.java:2245)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Atomic__Alternatives(InternalDFLParser.java:12968)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAtomic(InternalDFLParser.java:5044)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0__Impl(InternalDFLParser.java:47142)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Postfix__Group__0(InternalDFLParser.java:47098)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePostfix(InternalDFLParser.java:4959)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__Prefixed__Alternatives(InternalDFLParser.java:11107)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rulePrefixed(InternalDFLParser.java:4874)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0__Impl(InternalDFLParser.java:42341)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__DefaultValueExpression__Group__0(InternalDFLParser.java:42297)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleDefaultValueExpression(InternalDFLParser.java:4789)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0__Impl(InternalDFLParser.java:41740)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__AsExpression__Group__0(InternalDFLParser.java:41696)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleAsExpression(InternalDFLParser.java:4704)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0__Impl(InternalDFLParser.java:41139)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__JoinByExpression__Group__0(InternalDFLParser.java:41095)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleJoinByExpression(InternalDFLParser.java:4619)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0__Impl(InternalDFLParser.java:40538)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__SplitByExpression__Group__0(InternalDFLParser.java:40494)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleSplitByExpression(InternalDFLParser.java:4534)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0__Impl(InternalDFLParser.java:39775)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.rule__MultiplicationDivisionExpression__Group__0(InternalDFLParser.java:39731)
at org.mule.tooling.dfl.ui.contentassist.antlr.internal.InternalDFLParser.ruleMultiplicationDivisionEx
Re: Autocomplete inside quoted string [message #1696489 is a reply to message #1696472] Tue, 26 May 2015 16:57 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13883
Registered: July 2009
Senior Member
Can you share a reproducable grammar as well

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Autocomplete inside quoted string [message #1696521 is a reply to message #1696489] Wed, 27 May 2015 05:06 Go to previous messageGo to next message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
Hi Christian,

After doing some debugging, I figured out the problem, my problem was related to the STRING terminal, because I am not using the Terminals from Xtext so I copied the lines from the terminals provided by Xtext but it seems that I made a mistake in the copy paste

Code to reproduce the issue:
terminal STRING:
'"' ('\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\' | '"'))* '"' |
"'" ('\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\' | "'"))* "'";

Code without the issue
terminal STRING:
'"' ('\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\' | '"'))* '"'? |
"'" ('\\' . /* 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' */ | !('\\' | "'"))* "'"?;

As you can see I forgot to copy the "?" in the last part in both lines.

The error tries to indicate that the parse generate a token type 0 which means invalid so my grammar was not able to support that case

Example:
{
data: ""
}

If you press ctrl + space in the middle of "" the parser will try to parse { data: " --> so the last token to parse is " but my grammar was not able to support that scenario.

I left some basic Java Main class to execute the lexer, it can be useful if you want to check the tokens emitted by your lexer

public static void main(String[] args) {
InternalMyDslLexer lexer = new InternalMyDslLexer(new ANTLRStringStream("{data:abc}"));
Token token = lexer.nextToken();
while (token != Token.EOF_TOKEN) {
System.out.println(token);
token = lexer.nextToken();
}
}

Replace the "InternalMyDslLexer" with the name of your lexer

Thanks for your help and comments, you are always helping us or giving us some tip Smile

Regards,
Luis
Re: Autocomplete inside quoted string [message #1696668 is a reply to message #1696521] Wed, 27 May 2015 18:21 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13883
Registered: July 2009
Senior Member
hmmmm can you please file a ticket

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Autocomplete inside quoted string [message #1696831 is a reply to message #1696668] Thu, 28 May 2015 21:30 Go to previous message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
Christian,

I will try to prepare an example of the issue in a new project in order to file the ticket.

Anyway I am not sure if this is an issue maybe improving the error message is enough

Regards,
Luis
Previous Topic:Trying XText for IntelliJ
Next Topic:got "Cyclic resolution of lazy links" when nested object access parent object
Goto Forum:
  


Current Time: Fri Apr 16 09:24:53 GMT 2021

Powered by FUDForum. Page generated in 0.01804 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top