Project: SWT
Bug 272259 NPE in Display.runAsyncMessages(..) on quit
Reported: 2009-04-15 02:44:57 | Status: resolved fixed

I20090414-0800 - set a breakpoint for NullPointerException - debug ControlExample - choose menu SWT > Quit SWT => NPE: Daemon Thread [Thread-0] (Suspended (exception NullPointerException)) Display.runAsyncMessages(boolean) line: 3283 Display.readAndDispatch() line: 2980 ControlExample.main(String[]) line: 210

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java