Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Content Assist & Grammar Mixin-error:"Content Assist did not complete normally"(error:"Content Assist" did not complete normally)
Content Assist & Grammar Mixin-error:"Content Assist did not complete normally" [message #489364] Fri, 02 October 2009 15:30 Go to next message
Thomas V is currently offline Thomas VFriend
Messages: 6
Registered: October 2009
Junior Member
Hi all,

- I'm trying to access custom grammar rules via "Grammar Mixin" and get error messages when using content assist. Scenario:

- I created a ProjectY where I referred to the xtext-file of ProjectX.
(grammar com.ProjectY with com.ProjectX...)

- ProjectY imports ProjectX (via Dependencies in MANIFEST.MF).

- I modified the mwe-file of ProjectY ( <fragment class="org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment ">
<genModels
value="platform:/resource/ProjectY/src-gen/ProjectX.genmodel "/>
</fragment>)
and after that i ran the workflow with no errors.

- Then I started the generated editor (ProjectY->"run as Eclipse Application")

- Now it's possible to create a file with the necessary extension (but it's rather slow..). When I press "ctrl+ shift" for the "Content Assist" I get the error log the following:
- "Content Assist" did not complete normally.
- parseResult is null

Any ideas?
Thanks for any help

Thomas V

Re: Content Assist & Grammar Mixin-error:"Content Assist did not complete normally" [message #489391 is a reply to message #489364] Fri, 02 October 2009 18:51 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Thomas,

I guess this has nothing to do with the fact, that you use grammar
inheritance. But you are clearly facing a bug here. Would you please be
so kind and file a bugzilla and attach a reproducable example? Thanks in
advance.

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

Thomas V schrieb:
> Hi all,
>
> - I'm trying to access custom grammar rules via "Grammar Mixin" and get
> error messages when using content assist. Scenario:
>
> - I created a ProjectY where I referred to the xtext-file of ProjectX.
> (grammar com.ProjectY with com.ProjectX...)
>
> - ProjectY imports ProjectX (via Dependencies in MANIFEST.MF).
>
> - I modified the mwe-file of ProjectY ( <fragment
> class="org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment ">
> <genModels
>
> value="platform:/resource/ProjectY/src-gen/ProjectX.genmodel "/>
> </fragment>)
> and after that i ran the workflow with no errors.
>
> - Then I started the generated editor (ProjectY->"run as Eclipse
> Application")
>
> - Now it's possible to create a file with the necessary extension (but
> it's rather slow..). When I press "ctrl+ shift" for the "Content Assist"
> I get the error log the following:
> - "Content Assist" did not complete normally.
> - parseResult is null
>
> Any ideas?
> Thanks for any help
>
> Thomas V
>
>
Re: Content Assist & Grammar Mixin-error:"Content Assist did not complete normally" [message #489613 is a reply to message #489391] Mon, 05 October 2009 10:50 Go to previous message
Thomas V is currently offline Thomas VFriend
Messages: 6
Registered: October 2009
Junior Member
Hi Sebastian,

Reported as https://bugs.eclipse.org/bugs/show_bug.cgi?id=291321

Thanks for your help.

Regards
Thomas
Previous Topic:A grammar for parsing just a part of COBOL and combining with another model
Next Topic:[xtext] adding EOperations to the inferred ECore model
Goto Forum:
  


Current Time: Thu Mar 28 22:07:24 GMT 2024

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

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

Back to the top