Google Guice Exception starting my modelproject with XText2.0 [message #704308] |
Thu, 28 July 2011 13:38 |
|
Hi,
I get the following Exception, when I start my xtext-plugins with XText 2.0.0...
1) No implementation for org.eclipse.xtext.parser.antlr.ITokenDefProvider annotated with @com.google.inject.name.Named(value=org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.HIGHLIGHTING) was bound.
while locating org.eclipse.xtext.parser.antlr.ITokenDefProvider annotated with @com.google.inject.name.Named(value=org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.HIGHLIGHTING)
for parameter 0 at org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper.setTokenDefProvider(TokenTypeToStringMapper.java:30)
at org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper.setTokenDefProvider(TokenTypeToStringMapper.java:30)
while locating org.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper
for parameter 1 at org.eclipse.xtext.ui.editor.model.DocumentPartitioner.<init>(DocumentPartitioner.java:22)
at org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:55)
2) No implementation for org.eclipse.xtext.parser.antlr.ITokenDefProvider annotated with @com.google.inject.name.Named(value=org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.HIGHLIGHTING) was bound.
while locating org.eclipse.xtext.parser.antlr.ITokenDefProvider annotated with @com.google.inject.name.Named(value=org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.HIGHLIGHTING)
for parameter 0 at org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper.setTokenDefProvider(TokenTypeToStringMapper.java:30)
at org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper.setTokenDefProvider(TokenTypeToStringMapper.java:30)
while locating org.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper
for field at org.eclipse.xtext.ui.editor.model.PartitionTokenScanner.mapper(PartitionTokenScanner.java:34)
at org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:55)
3) No implementation for org.eclipse.xtext.parser.antlr.ITokenDefProvider annotated with @com.google.inject.name.Named(value=org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.HIGHLIGHTING) was bound.
while locating org.eclipse.xtext.parser.antlr.ITokenDefProvider annotated with @com.google.inject.name.Named(value=org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.HIGHLIGHTING)
for parameter 0 at org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper.setTokenDefProvider(TokenTypeToStringMapper.java:30)
at org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper.setTokenDefProvider(TokenTypeToStringMapper.java:30)
while locating org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper
for field at org.eclipse.xtext.ui.editor.syntaxcoloring.TokenScanner.tokenIdMapper(TokenScanner.java:125)
at org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:55)
3 errors
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:354)
at com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:152)
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)
at com.google.inject.Guice.createInjector(Guice.java:92)
at com.google.inject.Guice.createInjector(Guice.java:69)
at com.google.inject.Guice.createInjector(Guice.java:59)
at vsa.marvin.mod.common.ui.internal.MarvinCommonActivator.registerInjectorFor(MarvinCommonActivator.java:47)
at vsa.marvin.mod.common.ui.internal.MarvinCommonActivator.start(MarvinCommonActivator.java:38)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 149 more
Do you know if this due to a change in XText or Guice and how to solve this problem
Thank you
Best regards
Markus
[Updated on: Thu, 28 July 2011 13:39] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03076 seconds