[
https://issues.jboss.org/browse/JBIDE-18681?page=com.atlassian.jira.plugi...
]
Snjezana Peco updated JBIDE-18681:
----------------------------------
Comment: was deleted
(was: I haven't succeeded to reproduce the issue, but have created a fix.
It will remove the perspective listener only if the central plugin is stopped manually by
calling the plugin's stop method.
If the plugin is stopped when shutting down Eclipse, a JVM session is stopped and it
doesn't matter whether we have removed the listener or not.
)
'Invalid thread access' error in central during shutdown
--------------------------------------------------------
Key: JBIDE-18681
URL:
https://issues.jboss.org/browse/JBIDE-18681
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central
Affects Versions: 4.2.0.Final
Reporter: Denis Golovin
Assignee: Fred Bricon
Fix For: 4.2.1.Final, 4.3.0.Alpha1
{code}Caused by: org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.SWT.error(SWT.java:4327)
at org.eclipse.swt.widgets.Display.error(Display.java:1083)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
at org.eclipse.swt.widgets.Display.create(Display.java:823)
at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
at org.eclipse.swt.widgets.Display.<init>(Display.java:714)
at org.eclipse.swt.widgets.Display.<init>(Display.java:705)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403)
at org.jboss.tools.central.JBossCentralActivator.stop(JBossCentralActivator.java:215)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820)
... 13 more{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)