weird error with Guice [message #897557] |
Tue, 24 July 2012 09:37  |
Eclipse User |
|
|
|
Hi,
I'm not sure this is related to Xtext, but I have a project that worked nicely before my vacation. Now I started to get a weird error, as below, but when I debug it and check the values used by ProviderModule they look ok (both types are com.google.guice.Provider). It's just that isInstanceOf returns false...
java.lang.IllegalStateException: The method provideIWorkspace is expected to return a Class<? extends Provider<Something>> or directly Provider<Something>.
at org.eclipse.xtext.service.ProviderModule.getKeyType(ProviderModule.java:41)
at org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:47)
at org.eclipse.xtext.service.CompoundModule.configure(CompoundModule.java:34)
at org.eclipse.xtext.service.AbstractGenericModule.configure(AbstractGenericModule.java:32)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at org.erlide.ErlangRuntimeModule.configure(ErlangRuntimeModule.java:31)
The only thing that happened in the meantime was that I updated Xtext to the latest nightly and realized that I actually want the stable release and I reversed to that.
I will try on a clean installation tomorrow, but maybe someone has a suggestion until then.
best regards,
Vlad
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04033 seconds