[
https://issues.jboss.org/browse/JBIDE-12050?page=com.atlassian.jira.plugi...
]
Yahor Radtsevich edited comment on JBIDE-12050 at 5/30/12 1:42 PM:
-------------------------------------------------------------------
The reason of this exception is that loader of BrowserSim adds all fragments of
{{org.eclipse.swt}} to the classpath.
{{org.jboss.tools.xulrunner.initializer}} is one of these fragments. It is a part of VPE
and that is why its signature does not match signature of {{org.eclipse.swt}} plugin.
But actually, BrowserSim does not need {{org.jboss.tools.xulrunner.initializer}} and
similar fragments. It needs only one {{org.eclipse.swt.platform_id}} fragment (where
platform_id={win32.win32.x86 or gtk.linux.x86, etc.}).
was (Author: yradtsevich):
The reason of this exception is that loader of BrowserSim adds all fragments of
{{org.eclipse.swt}} to the classpath.
{{org.jboss.tools.xulrunner.initializer}} is one of these fragments. It is a part of VPE
and that is why its signature does not match signature of {{org.eclipse.swt}} plugin.
Actually, BrowserSim needs only {{org.eclipse.swt.platform_id}} fragment (where
platform_id={win32.win32.x86 or gtk.linux.x86, etc.}).
{{org.jboss.tools.xulrunner.initializer}} and similar fragments are not needed.
Unable to Run Browsersim
------------------------
Key: JBIDE-12050
URL:
https://issues.jboss.org/browse/JBIDE-12050
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.3.0.CR1
Environment: jbdevstudio-product-linux-gtk-5.0.0.v201205272317M-H143-CR1
Reporter: Vlado Pakan
Assignee: Yahor Radtsevich
Priority: Blocker
Fix For: 3.3.0.CR1
Attachments: JBIDE12050.patch
Unable to run BrowserSim. Icon and command to run BrowserSim is available but once
invoked nothing happened.
The same behavior is on Mac Os + JBDS and Linux 64bit + JBT.
There is no error in error.log.
There are these errors in console:
Exception in thread "main" java.lang.SecurityException: class
"org.eclipse.swt.browser.BrowserInitializer"'s signer information does not
match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
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 java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.eclipse.swt.browser.Browser.checkStyle(Browser.java:150)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:87)
at
org.jboss.tools.vpe.browsersim.browser.BrowserSimBrowser.<init>(BrowserSimBrowser.java:9)
at
org.jboss.tools.vpe.browsersim.browser.AbstractWebKitBrowser.<init>(AbstractWebKitBrowser.java:24)
at
org.jboss.tools.vpe.browsersim.browser.internal.WebKitBrowser_gtk_linux_x86.<init>(WebKitBrowser_gtk_linux_x86.java:38)
at
org.jboss.tools.vpe.browsersim.browser.WebKitBrowserFactory.createBrowser(WebKitBrowserFactory.java:28)
at
org.jboss.tools.vpe.browsersim.browser.WebKitBrowserFactory.createBrowser(WebKitBrowserFactory.java:1)
at
org.jboss.tools.vpe.browsersim.ui.skin.ios.AppleIPhone3ResizableSkin.createControls(AppleIPhone3ResizableSkin.java:133)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.initSkin(BrowserSim.java:156)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.main(BrowserSim.java:111)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira