Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Error in running workflow(Error in running workflow)
Error in running workflow [message #1829425] Fri, 03 July 2020 07:13 Go to next message
Virag Purnam is currently offline Virag PurnamFriend
Messages: 130
Registered: June 2014
Senior Member
Hi,

I am getting below mentioned error, during run of mwe2 workflow.
Same grammar was not giving error earlier.

error(10):  internal error: org.antlr.tool.Grammar.createLookaheadDFA(Grammar.java:1279): could not even do k=1 for decision 217; reason: timed out


How can I resolve this error ?

Thanks and regards,
Virag
Re: Error in running workflow [message #1829431 is a reply to message #1829425] Fri, 03 July 2020 09:09 Go to previous messageGo to next message
Virag Purnam is currently offline Virag PurnamFriend
Messages: 130
Registered: June 2014
Senior Member
Hi,

Problem got resolved.
There was an issue with grammar.

Thanks and regards,
Virag
Re: Error in running workflow [message #1829482 is a reply to message #1829431] Sat, 04 July 2020 19:02 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6874
Registered: July 2009
Senior Member
Hi

Resolved for now. However it may reoccur for larger grammars. It is useful to know that backtrack, classSplitting and conversiontimeout parameters can be configured.

fragment = parser.antlr.XtextAntlrGeneratorFragment {
options = { backtrack = true classSplitting = true }
antlrParam = "-Xconversiontimeout" antlrParam = "10000"
}

With the old infrastructure the above has to be repeated for the XtextAntlrUiGeneratorFragment. With the new infrastructure the new XtextAntlrGeneratorFragment seems sufficient.

Regards

Ed Willink
Previous Topic:Providing quick fixes when IMarker are not created using Xtext's API
Next Topic:Pb with recursive rule invocation
Goto Forum:
  


Current Time: Thu Oct 22 14:49:14 GMT 2020

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

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

Back to the top