Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » SecurityException on invoking ViewService.createDiagram in a standalone project (SecurityException on invoking ViewService.createDiagram in a standalone project )
SecurityException on invoking ViewService.createDiagram in a standalone project [message #1234197] Tue, 21 January 2014 12:54
behnaz changizi is currently offline behnaz changiziFriend
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)
Previous Topic:Remove dangling references when link is deleted
Next Topic:Add a (visual) filter based on EMF Type
Goto Forum:
  


Current Time: Fri Apr 19 07:42:07 GMT 2024

Powered by FUDForum. Page generated in 0.02023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top