Community
Participate
Working Groups
The below exception occurs when the FileViewer is terminated through Dock, or forcibly through the command Ctl+Q Exception in thread "Thread-2" 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:1027) at org.eclipse.swt.widgets.Display.wake(Display.java:4350) at org.eclipse.swt.examples.fileviewer.FileViewer$1.run(FileViewer.java:1503) at java.lang.Thread.run(Thread.java:613) Terminating normally works fine without any problem.
This looks like a bug in the example. The worker thread is using the Display off the main thread.
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more information.
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. -- The automated Eclipse Genie.