Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » signer information mismatch
signer information mismatch [message #990066] Mon, 10 December 2012 12:39 Go to next message
Igor Tkachev is currently offline Igor Tkachev
Messages: 2
Registered: December 2012
Junior Member
Hi

I'm trying to run standalone setup as
import org.eclipse.xtext.generator.IGenerator;
import com.google.inject.Injector;

public class MainGen {

	public static void main(String[] args) {
		Injector i = new FloStandaloneSetup().createInjectorAndDoEMFRegistration();
		IGenerator generator = i.getInstance(IGenerator.class);
	}
	
}


I'm getting such exception

Caused by: java.lang.SecurityException: class "org.eclipse.xtext.parsetree.reconstr.impl.DefaultHiddenTokenHelper$$FastClassByGuice$$db42f815"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:943)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657)
at java.lang.ClassLoader.defineClass(ClassLoader.java:785)
... 139 more


I think it it related to different versions but I don't understand what versions I should use. Can someone help with this. I attached list of libs I use.

index.php/fa/12656/0/

Thank you
  • Attachment: libs.jpg
    (Size: 376.66KB, Downloaded 151 times)
Re: signer information mismatch [message #990165 is a reply to message #990066] Tue, 11 December 2012 03:41 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2807
Registered: July 2009
Senior Member
Hi Igor,

which version of Xtext do you use? Please make sure that you use the
google inject bundle that ships with Eclipse.

Best regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 10.12.12 18:50, schrieb Igor Tkachev:
> Hi
>
> I'm trying to run standalone setup as
>
> import org.eclipse.xtext.generator.IGenerator;
> import com.google.inject.Injector;
>
> public class MainGen {
>
> public static void main(String[] args) {
> Injector i = new FloStandaloneSetup().createInjectorAndDoEMFRegistration();
> IGenerator generator = i.getInstance(IGenerator.class);
> }
>
> }
>
>
> I'm getting such exception
>
> Caused by: java.lang.SecurityException: class "org.eclipse.xtext.parsetree.reconstr.impl.DefaultHiddenTokenHelper$$FastClassByGuice$$db42f815"'s signer information does not match signer information of other classes in the same package
> at java.lang.ClassLoader.checkCerts(ClassLoader.java:943)
> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:785)
> ... 139 more
>
>
> I think it it related to different versions but I don't understand what versions I should use. Can someone help with this. I attached list of libs I use.
>
>
>
> Thank you
>
Re: signer information mismatch [message #990234 is a reply to message #990165] Tue, 11 December 2012 09:19 Go to previous message
Igor Tkachev is currently offline Igor Tkachev
Messages: 2
Registered: December 2012
Junior Member
The problem is solved by downloading and installing eclipse from scratch

Thanks


Sebastian Zarnekow wrote on Tue, 11 December 2012 03:41
Hi Igor,

which version of Xtext do you use? Please make sure that you use the
google inject bundle that ships with Eclipse.

Best regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit:

Am 10.12.12 18:50, schrieb Igor Tkachev:
> Hi
>
> I'm trying to run standalone setup as
>
> import org.eclipse.xtext.generator.IGenerator;
> import com.google.inject.Injector;
>
> public class MainGen {
>
> public static void main(String[] args) {
> Injector i = new FloStandaloneSetup().createInjectorAndDoEMFRegistration();
> IGenerator generator = i.getInstance(IGenerator.class);
> }
>
> }
>
>
> I'm getting such exception
>
> Caused by: java.lang.SecurityException: class "org.eclipse.xtext.parsetree.reconstr.impl.DefaultHiddenTokenHelper$$FastClassByGuice$$db42f815"'s signer information does not match signer information of other classes in the same package
> at java.lang.ClassLoader.checkCerts(ClassLoader.java:943)
> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:657)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:785)
> ... 139 more
>
>
> I think it it related to different versions but I don't understand what versions I should use. Can someone help with this. I attached list of libs I use.
>
>
>
> Thank you
>

Previous Topic:Rules regarding CrossReferences
Next Topic:XPath grammar implementation
Goto Forum:
  


Current Time: Sat Apr 19 11:55:27 EDT 2014

Powered by FUDForum. Page generated in 0.14329 seconds