Project: SWT
Bug 407270 Miss NPE check in org.eclipse.swt.accessibility.Accessible
Reported: 2013-05-06 05:45:11 | Status: verified fixed

miss NPE check in all of the remove*Listener method of org.eclipse.swt.accessibility.Accessible. for instance, take a look on the "removeAccessibleControlListener" method,note that there is no NPE check before accessibleControlListeners.isEmpty(), the accessibleControlListeners properly will be null and therefore, NullPointerException will be thrown out. this issue occurs in 4.3 M7.the 4.3 M6 works fine.

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