Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335957

Summary: "Device is disposed" error inside org.eclipse.team.internal.ui.mapping.DiffTreeChangesSection
Product: [Eclipse Project] Platform Reporter: Olivier Thomann <Olivier_Thomann>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen, tomasz.zarna
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Olivier Thomann CLA 2011-02-01 09:10:43 EST
Using eclipse.buildId=I20110128-2000
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_CA
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -console,

I got this during a comparison with a branch. No steps to reproduce. This is a 4.1 build.

org.eclipse.swt.SWTException: Device is disposed
at org.eclipse.swt.SWT.error(SWT.java:4209)
at org.eclipse.swt.SWT.error(SWT.java:4124)
at org.eclipse.swt.SWT.error(SWT.java:4095)
at org.eclipse.swt.widgets.Display.error(Display.java:1258)
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:709)
at org.eclipse.team.internal.ui.mapping.DiffTreeChangesSection.handleEmptyViewer(DiffTreeChangesSection.java:492)
at org.eclipse.team.internal.ui.mapping.DiffTreeChangesSection.calculateDescription(DiffTreeChangesSection.java:514)
at org.eclipse.team.internal.ui.mapping.DiffTreeChangesSection$1.done(DiffTreeChangesSection.java:79)
at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:96)
at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71)
Comment 1 Remy Suen CLA 2011-02-01 09:48:14 EST
The method was changed slightly for bug 332049 though I don't think it is related.

Olivier, since you could not reproduce it, I presume your Eclipse setup continued to function as normal after you got this error, correct?
Comment 2 Olivier Thomann CLA 2011-02-01 09:52:46 EST
I think I got it on shutdown. On the next start, everything was working properly.
Comment 3 Tomasz Zarna CLA 2011-08-03 06:24:07 EDT
I've just noticed it in my log in I20110719-0800.
Comment 4 Lars Vogel CLA 2019-11-14 03:11:50 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.