Bug 305125 - [Examples] Exception while terminating FileViewer
Summary: [Examples] Exception while terminating FileViewer
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-03-09 05:24 EST by Praveen CLA
Modified: 2019-12-27 12:56 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Praveen CLA 2010-03-09 05:24:42 EST
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.
Comment 1 Scott Kovatch CLA 2010-06-07 13:58:43 EDT
This looks like a bug in the example. The worker thread is using the Display off the main thread.
Comment 2 Lakshmi P Shanmugam CLA 2017-07-03 07:46:22 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
information.
Comment 3 Eclipse Genie CLA 2019-12-27 12:56:54 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.

--
The automated Eclipse Genie.