[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6749) org.guvnor.tools.Activator adds ResourceChangeListener, but doesn't remove it
Brian Fitzpatrick (JIRA)
jira-events at lists.jboss.org
Fri Jul 30 11:00:49 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fitzpatrick updated JBIDE-6749:
-------------------------------------
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Assignee: Denny Xu (was: Kris Verlaenen)
Fix Version/s: 3.2.x
Denny, can you look into this?
> org.guvnor.tools.Activator adds ResourceChangeListener, but doesn't remove it
> -----------------------------------------------------------------------------
>
> Key: JBIDE-6749
> URL: https://jira.jboss.org/browse/JBIDE-6749
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: drools
> Affects Versions: 3.2.0.M1
> Reporter: Snjezana Peco
> Assignee: Denny Xu
> Fix For: 3.2.x
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> The following exception happens sometimes when exiting Eclipse (when running tests that remove projects on exit, for instance):
> org.eclipse.swt.SWTException: Device is disposed
> at org.eclipse.swt.SWT.error(SWT.java:4083)
> at org.eclipse.swt.SWT.error(SWT.java:3998)
> at org.eclipse.swt.SWT.error(SWT.java:3969)
> at org.eclipse.swt.widgets.Display.error(Display.java:1249)
> at org.eclipse.swt.widgets.Display.asyncExec(Display.java:700)
> at org.guvnor.tools.ResourceChangeListener.deleteResources(Unknown Source)
> at org.guvnor.tools.ResourceChangeListener.resourceChanged(Unknown Source)
> at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
> at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
> at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
> at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> The solution would be to add getWorkspace().removeResourceChangeListener(rcListener) to the Activator.stop() method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list