Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Content Assist error
Content Assist error [message #707213] Mon, 01 August 2011 10:55 Go to next message
Arun  is currently offline Arun Friend
Messages: 26
Registered: July 2011
Junior Member
Hi,

I'm getting the following error during content assist. what could be the issue?

!STACK 0
java.lang.Error: Unresolved compilation problem:
The code of method specialStateTransition(int, IntStream) is exceeding the 65535 bytes limit

at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser$DFA154.specialStateTransition(InternalAtgDslParser.java:65452)
at org.antlr.runtime.DFA.predict(DFA.java:48)
at org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA.predict(DFA.java:22)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Table__UnorderedGroup__0(InternalAtgDslParser.java:51709)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Table__UnorderedGroup(InternalAtgDslParser.java:51479)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleTable(InternalAtgDslParser.java:1163)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__TableAssignment_7(InternalAtgDslParser.java:56909)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__7__Impl(InternalAtgDslParser.java:16292)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__7(InternalAtgDslParser.java:16182)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__6(InternalAtgDslParser.java:16080)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__5(InternalAtgDslParser.java:15986)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__4(InternalAtgDslParser.java:15904)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__3(InternalAtgDslParser.java:15831)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__2(InternalAtgDslParser.java:15738)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__1(InternalAtgDslParser.java:15656)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__0(InternalAtgDslParser.java:15583)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleItemDescriptor(InternalAtgDslParser.java:1088)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__ItemDescriptorAssignment_3(InternalAtgDslParser.java:56206)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__3__Impl(InternalAtgDslParser.java:15465)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__3(InternalAtgDslParser.java:15410)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__2(InternalAtgDslParser.java:15341)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__1(InternalAtgDslParser.java:15259)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__0(InternalAtgDslParser.java:15186)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleRepository(InternalAtgDslParser.java:1013)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Type__Alternatives(InternalAtgDslParser.java:5881)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleType(InternalAtgDslParser.java:263)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__TypesAssignment_3(InternalAtgDslParser.java:55276)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__3__Impl(InternalAtgDslParser.java:9695)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__3(InternalAtgDslParser.java:9640)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__2(InternalAtgDslParser.java:9571)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__1(InternalAtgDslParser.java:9489)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__0(InternalAtgDslParser.java:9416)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rulePackage(InternalAtgDslParser.java:188)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__PackagesAssignment_1(InternalAtgDslParser.java:55196)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__Group__1__Impl(InternalAtgDslParser.java:9367)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__Group__1(InternalAtgDslParser.java:9316)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__Group__0(InternalAtgDslParser.java:9238)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleModel(InternalAtgDslParser.java:113)
at com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.entryRuleModel(InternalAtgDslParser.java:75)
at com.atg.atgdsl.ui.contentassist.antlr.AtgDslParser.getFollowElements(AtgDslParser.java:482)
at org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser.getFollowElements(AbstractContentAssistParser.java:220)
at org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.create(ParserBasedContentAssistContextFactory.java:124)
at org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.exec(CompletionProposalComputer.java:48)
at org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.exec(CompletionProposalComputer.java:1)
at org.eclipse.xtext.util.concurrent.IStateAccess$AbstractImpl.readOnly(IStateAccess.java:40)
at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:70)

Thanks,
Arun

Re: Content Assist error [message #707644 is a reply to message #707213] Mon, 01 August 2011 22:24 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3109
Registered: July 2009
Senior Member
Hi Arun,

please enable class splitting for the XtextAntlrUiGrammarFragment in the
workflow.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 01.08.11 12:55, Arun wrote:
> Hi,
>
> I'm getting the following error during content assist. what could be the
> issue?
>
> !STACK 0
> java.lang.Error: Unresolved compilation problem: The code of method
> specialStateTransition(int, IntStream) is exceeding the 65535 bytes limit
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser$DFA154.specialStateTransition(InternalAtgDslParser.java:65452)
>
> at org.antlr.runtime.DFA.predict(DFA.java:48)
> at
> org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA.predict(DFA.java:22)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Table__UnorderedGroup__0(InternalAtgDslParser.java:51709)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Table__UnorderedGroup(InternalAtgDslParser.java:51479)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleTable(InternalAtgDslParser.java:1163)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__TableAssignment_7(InternalAtgDslParser.java:56909)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__7__Impl(InternalAtgDslParser.java:16292)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__7(InternalAtgDslParser.java:16182)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__6(InternalAtgDslParser.java:16080)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__5(InternalAtgDslParser.java:15986)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__4(InternalAtgDslParser.java:15904)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__3(InternalAtgDslParser.java:15831)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__2(InternalAtgDslParser.java:15738)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__1(InternalAtgDslParser.java:15656)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__ItemDescriptor__Group__0(InternalAtgDslParser.java:15583)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleItemDescriptor(InternalAtgDslParser.java:1088)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__ItemDescriptorAssignment_3(InternalAtgDslParser.java:56206)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__3__Impl(InternalAtgDslParser.java:15465)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__3(InternalAtgDslParser.java:15410)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__2(InternalAtgDslParser.java:15341)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__1(InternalAtgDslParser.java:15259)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Repository__Group__0(InternalAtgDslParser.java:15186)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleRepository(InternalAtgDslParser.java:1013)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Type__Alternatives(InternalAtgDslParser.java:5881)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleType(InternalAtgDslParser.java:263)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__TypesAssignment_3(InternalAtgDslParser.java:55276)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__3__Impl(InternalAtgDslParser.java:9695)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__3(InternalAtgDslParser.java:9640)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__2(InternalAtgDslParser.java:9571)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__1(InternalAtgDslParser.java:9489)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Package__Group__0(InternalAtgDslParser.java:9416)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rulePackage(InternalAtgDslParser.java:188)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__PackagesAssignment_1(InternalAtgDslParser.java:55196)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__Group__1__Impl(InternalAtgDslParser.java:9367)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__Group__1(InternalAtgDslParser.java:9316)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.rule__Model__Group__0(InternalAtgDslParser.java:9238)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.ruleModel(InternalAtgDslParser.java:113)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.internal.InternalAtgDslParser.entryRuleModel(InternalAtgDslParser.java:75)
>
> at
> com.atg.atgdsl.ui.contentassist.antlr.AtgDslParser.getFollowElements(AtgDslParser.java:482)
>
> at
> org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser.getFollowElements(AbstractContentAssistParser.java:220)
>
> at
> org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.create(ParserBasedContentAssistContextFactory.java:124)
>
> at
> org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.exec(CompletionProposalComputer.java:48)
>
> at
> org.eclipse.xtext.ui.editor.contentassist.CompletionProposalComputer.exec(CompletionProposalComputer.java:1)
>
> at
> org.eclipse.xtext.util.concurrent.IStateAccess$AbstractImpl.readOnly(IStateAccess.java:40)
>
> at
> org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:70)
>
>
> Thanks,
> Arun
>
>
Previous Topic:Datatype rules
Next Topic:UnsupportedOperationException: getEObjectURI
Goto Forum:
  


Current Time: Sun Apr 18 12:53:26 GMT 2021

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

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

Back to the top