Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Autocompletion on deployed xtext feature not working
Autocompletion on deployed xtext feature not working [message #1754399] Fri, 17 February 2017 09:17 Go to next message
Thomas Trocha is currently offline Thomas TrochaFriend
Messages: 11
Registered: October 2011
Junior Member
Hi there,
now that I have my xtext-project on a more or less stable state I want it to be deployable via update-site. Actually everything works but autocompletion (ctrl+space).
Looking in the .meta/log I found following exception:
java.util.concurrent.ExecutionException: java.lang.AbstractMethodError: org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser.getFollowElements(Lorg/eclipse/xtext/ide/editor/contentassist/antlr/internal/AbstractInternalContentAssistParser;)Ljava/util/Collection;
	at java.util.concurrent.FutureTask.report(Unknown Source)
	at java.util.concurrent.FutureTask.get(Unknown Source)
	at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory.doCreateContexts(ContentAssistContextFactory.java:173)
	at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory.create(ContentAssistContextFactory.java:123)
	at org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory$StatefulFactory.doCreateContexts(DelegatingContentAssistContextFactory.java:92)
	at org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory$StatefulFactory.create(DelegatingContentAssistContextFactory.java:78)
....
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: java.lang.AbstractMethodError: org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser.getFollowElements(Lorg/eclipse/xtext/ide/editor/contentassist/antlr/internal/AbstractInternalContentAssistParser;)Ljava/util/Collection;
	at org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser.getFollowElements(AbstractContentAssistParser.java:322)
	at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory.handleLastCompleteNodeIsAtEndOfDatatypeNode(ContentAssistContextFactory.java:219)
	at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory$2.call(ContentAssistContextFactory.java:153)
	at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory$2.call(ContentAssistContextFactory.java:1)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


Running the plugin as eclipse-runtime works just fine.

Here my setup:
Eclipse 4.6.2 / xtext 2.10.0.v201605250459

EDIT: Just tested to deploy the domainmodel-example and autocomplete works as a charme. So there must be something went wrong on my side. Nonetheless I'm a bit helpless here.

Any hint would be very much appreciated.

[Updated on: Fri, 17 February 2017 10:17]

Report message to a moderator

Re: Autocompletion on deployed xtext feature not working [message #1754405 is a reply to message #1754399] Fri, 17 February 2017 10:40 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 10320
Registered: July 2009
Senior Member
did you doublecheck you dont have any warnings on any build.properties files?
Re: Autocompletion on deployed xtext feature not working [message #1754407 is a reply to message #1754405] Fri, 17 February 2017 10:47 Go to previous message
Thomas Trocha is currently offline Thomas TrochaFriend
Messages: 11
Registered: October 2011
Junior Member
Hi Christian, thx for replying (again) Man, you are the master of the forum Wink

I just updated xtext to 2.11.0v20170201... recreated the xtext-artifacts, redeployed and now it is working. Sry, I should have done that in the first place.

Thx
Previous Topic:How to disable error message from Composite EValidator
Next Topic:Semantic Highlighting using Xtext 2.11
Goto Forum:
  


Current Time: Sun Mar 26 19:11:47 GMT 2017

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

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