Project: SWT
Bug 274274 NPE in Accessible#removeAccessibleListener() if called from dispose listener
Reported: 2009-04-29 06:25:58 | Status: resolved fixed

Eclipse 3.4.2 and 3.5, Linux GTK - add a dispose listener to a composite - call fComposite.getAccessible().removeAccessibleListener() Actual results: A NPE is thrown because accessibleListener is null at the time when the dispose listener is called. This is because another dispose listener sets accessibleListeners to NULL before our listener is called.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/Accessible.java