|weird error with Guice [message #897557]
||Tue, 24 July 2012 09:37
| Vlad Dumitrescu
Registered: July 2009
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>.
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.
Powered by FUDForum
. Page generated in 0.03102 seconds