Problem with Xtext running in tomcat 9.0.16 guice 4.2.3, Xtext 2.20.0

22 views
Skip to first unread message

Luca Romano

unread,
Apr 6, 2020, 5:36:09 AM4/6/20
to google-guice
Hi all,

I have a very strange behaviour of my Xtext application.

It runs perfectly in Debian (buster), but in CentOS it raises error after some reloads (the number is random) of the page where you have the Web Editor it raises the exception listed at the bottom of this message.
So it stops working as expected, no syntax check no highlight until you restart tomcat9.

The other difference is that the CentOS server is accessed through a VPN.
The CentOS version is 3.10.0-1062.18.1.el7.x86_64

Thanks in advance,
Luca
06-Apr-2020 10:49:40.796 SEVERE [https-openssl-nio-8443-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [XtextServices] in context with path [/leitfeld] threw exception
 com.google.inject.ConfigurationException: Guice configuration errors:

1) No implementation for org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer annotated with @com.google.inject.name.Named(value="org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.CONTENT_ASSIST") was bound.
  while locating org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer annotated with @com.google.inject.name.Named(value="org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.CONTENT_ASSIST")
    for field at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory.lexer(ContentAssistContextFactory.java:62)
  while locating com.google.inject.Provider<org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory>
    for field at org.eclipse.xtext.web.server.contentassist.ContentAssistService.contextFactoryProvider(ContentAssistService.java:45)
  while locating org.eclipse.xtext.web.server.contentassist.ContentAssistService
    for field at org.eclipse.xtext.web.server.XtextServiceDispatcher.contentAssistService(XtextServiceDispatcher.java:93)
  while locating org.eclipse.xtext.web.server.XtextServiceDispatcher

2) No implementation for org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer annotated with @com.google.inject.name.Named(value="org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.CONTENT_ASSIST") was bound.
  while locating org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer annotated with @com.google.inject.name.Named(value="org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.CONTENT_ASSIST")
    for field at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory.lexer(ContentAssistContextFactory.java:62)
  while locating com.google.inject.Provider<org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory>
    for field at org.eclipse.xtext.web.server.contentassist.ContentAssistService.contextFactoryProvider(ContentAssistService.java:45)
  while locating org.eclipse.xtext.web.server.contentassist.ContentAssistService
    for field at org.eclipse.xtext.web.server.hover.HoverService.contentAssistService(HoverService.java:55)
  while locating org.eclipse.xtext.web.server.hover.HoverService
    for field at org.eclipse.xtext.web.server.XtextServiceDispatcher.hoverService(XtextServiceDispatcher.java:93)
  while locating org.eclipse.xtext.web.server.XtextServiceDispatcher

3) No implementation for org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser was bound.
  while locating org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser
    for field at org.eclipse.xtext.ide.editor.contentassist.antlr.ContentAssistContextFactory.parser(ContentAssistContextFactory.java:467)





Reply all
Reply to author
Forward
0 new messages