SecurityException on invoking ViewService.createDiagram in a standalone project [message #1234197] |
Tue, 21 January 2014 12:54 |
behnaz changizi Messages: 11 Registered: January 2014 |
Junior Member |
|
|
Hello,
I am getting the following exception running the line below in a Java standalone project while I have imported gmf dependencies as source codes of the installed gmf plugin. I am using the latest Eclipse.
Could you please guide me how to fix this?
Thanks,
Diagram diagram = ViewService.createDiagram(1,
new PreferencesHint(""));
java.lang.SecurityException: class "org.eclipse.core.runtime.IAdaptable"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:812)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:493)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at test.main(xcx.java:13)
|
|
|
Powered by
FUDForum. Page generated in 0.02023 seconds