My code is part of Eclipse RCP where I have a ViewPart. When this part is closed, the SWT.Activate event is send and it will cause throwing an exception.
Why is that event send? I'm using Windows 7, SWT v3.7.2.
Here is the stack trace:
Shell.setActiveControl(Control) line: 1447
PageBook(Control).sendFocusEvent(int) line: 2836
PageBook(Widget).wmSetFocus(int, int, int) line: 2403
PageBook(Control).WM_SETFOCUS(int, int) line: 5152
PageBook(Control).windowProc(int, int, int, int) line: 4598
Display.windowProc(int, int, int, int) line: 4972
OS.DestroyWindow(int) line: not available [native method]
TabbedPropertyComposite(Control).destroyWidget() line: 780
TabbedPropertyComposite(Widget).release(boolean) line: 818
TabbedPropertyComposite(Widget).dispose() line: 446
TabbedPropertyComposite.dispose() line: 195